-
点亮设备 与 熄灭设备
adb shell input keyevent 224
adb shell input keyevent 223
-
强停应用
adb shell am force-stop 加包名
-
清除日志缓存
adb logcat -c
-
清除应用数据及缓存
adb shell pm clear 加包名
-
过滤日志
adb logcat *:E
-
查看services列表
adb shell services list
-
杀死进程
adb shell
am force-stop 加包名
-
查看任务栈
adb shell dumpsys activity activities
-
获取app安装文件路径
adb shell pm path 加包名
ADB常用命令
最新推荐文章于 2024-01-15 06:00:00 发布