1、aapt dump badging apk名称
2、adb logcat | grep START 或者 adb shell “logcat | grep START”
然后在模拟器中点击要获取package的app,查找cmp,cmp中前面是package name后面是activity name
1、通过monkey 点击 某个app
adb shell monkey -p com.android.calculator2 100
1、aapt dump badging apk名称
2、adb logcat | grep START 或者 adb shell “logcat | grep START”
然后在模拟器中点击要获取package的app,查找cmp,cmp中前面是package name后面是activity name
1、通过monkey 点击 某个app
adb shell monkey -p com.android.calculator2 100