adb get android version
Code Example - adb get android version
adb shell getprop ro.build.version.release
adb shell getprop ro.build.version.release