Jacobvu84 / serenity-screenplay-appium

The demo shows the integration of Serenity BDD, Screenplay and Cucumber JVM.
3 stars 3 forks source link

Get android OS version of device connected via adb #6

Open Jacobvu84 opened 5 years ago

Jacobvu84 commented 5 years ago

To get Android version you can use:

adb shell getprop ro.build.version.release 

To get API level:

adb shell getprop ro.build.version.sdk 

You can see all available properties with this command:

adb shell getprop

Get android OS version of device connected via adb

Jacobvu84 commented 5 years ago

adb-commands

PacoH commented 3 years ago

This is based on data from six years ago. It no longer applies, at least not on Shield TV.

adb shell getprop ro.build.version.release gets the version number of the device.

IMG-3215.jpg

adb shell getprop ro.build.version.ota gets the OS version.

IMG-3213.jpg