- adb shell pm list package 查看所有包名
- adb shell pm list package -3 查看第三方的包名
- adb shell pm list package -s 查看系统的包名
- adb shell dumpsys activity | findstr [包名]|findstr LUNCHER 查找启动页
- adb shell dumpsys activity | grep vip.mytokenpocket|grep LUNCHER 查找启动页--mac
若adb shell dumpsys activity | findstr [包名]|findstr LUNCHER 查找启动页 无效
可采用以下方法:
查看手机里面已经安装的App:
用数据线连接手机,
打开开发者模式,
并赋予相关权限;
1、清除日志:
adb logcat -c
2、启动日志:
adb logcat ActivityManager:I *:s
或
adb logcat ActivityManager:I *
3、启动手机App