只需要四步操作。
- 在模拟器获取真机中打开app,真机需要连接主机才行,建议用虚拟机。
- 打开cmd命令, Alt+R 快捷键打开。
- 运行命令:
adb shell
- 进入shell后,运行命令:
a、dumpsys activity | grep mFocusedActivity
b、dumpsys window | grep mCurrentFocus

只需要四步操作。
adb shell
dumpsys activity | grep mFocusedActivity
dumpsys window | grep mCurrentFocus
本文标题:获取app包名/包入口(appPackage/appActivi
本文链接:https://www.haomeiwen.com/subject/sajrectx.html
网友评论