一、获取当前电脑的Android设备信息
adb devices
二、获取App入口
adb logca |grep -i displayed
aapt dump badging mobike.apk |grep launchable-activity
adb logcat | grep Displayed

三、获取App信息
- 获取当前界面元素:
adb shell dumpsys activity top
- 获取任务列表
adb shell dumpsys activity activities
四、启动应用
adb shell am start -n 包名/activity名 -S