1.由包名获取apk路径:
adb shell pm path io.ionic.starter
2.打开需要获取的APP,运行一下命令即可
adb shell dumpsys window | findstr mCurrentFocus
包名:红线部分
activity:蓝线部分
查看当前手机运行的app包名和activity
adb logcat | grep “Displayed”
1.由包名获取apk路径:
adb shell pm path io.ionic.starter
2.打开需要获取的APP,运行一下命令即可
adb shell dumpsys window | findstr mCurrentFocus
包名:红线部分
activity:蓝线部分
查看当前手机运行的app包名和activity
adb logcat | grep “Displayed”