使用adb命令获取包名

1.aapt dump badging test.apk

 2.adb shell "logcat | grep START"      输入命令后再启动App,查看最新的输出

 

3.adb shell pm list package -f

4.adb shell dumpsys activity | findstr mFocusedActivity

原文地址:https://www.cnblogs.com/miaomaiomaio/p/7662429.html