1. 获取系统版本:
adb shell getprop ro.build.version.release
2.获取系统api版本:
adb shell getprop ro.build.version.sdk
3.获取activity名称:
adb shell dumpsys window | findstr mCurrentFocus