1.获取设备id:adb devices
2.获取apppackage name:连接电脑,启动应用,打开终端输入 adb shell ps可以看到应用的PackgeName
3.获取APPactivity:命令行中切换到aapt.exe目录(D:androidandroid-sdk-windowsuild-tools25.0.1)执行:aapt dump badging E:apkes3.apk(此方法可获取APPactivity和package name)
4.D:androidandroid-sdk-windows oolsuiautomatorviewer.bat