先用usb链接手机
启动要查看的程序,命令查看当前运行的包名和Activity更清晰。
使用adb shell dumpsys window | findstr mCurrentFocus 命令查看当前运行的包名和Activity更清晰。
命令查看当前运行APP的包名和Activity
原文:https://www.cnblogs.com/zenghongfei/p/11741457.html