adb获取包名以及当前运行的activity

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u013022210/article/details/83503628

1.由包名获取apk路径

adb shell pm path io.ionic.starter

2.打开需要获取的APP,运行一下命令即可

adb shell dumpsys window | findstr mCurrentFocus

猜你喜欢

转载自blog.csdn.net/u013022210/article/details/83503628