当前位置:Gxlcms > 数据库问题 > adb 常用命令

adb 常用命令

时间:2021-07-01 10:21:17 帮助过:13人阅读

 

1、adb shell wm size   #屏幕分辨率

2、adb shell dumpsys activity services   #运行的服务

3、adb shell am start  *    #启动app

4、adb shell dumpsys package 包名  #查看package详细信息

5、adb shell input swipe 300 1000 300 500 #滑动解锁

6、adb shell dumpsys window | findstr mCurrentFocus  #查看当前应用和包名

7、adb shell monkey -p 包名 --throttle 200 --pct-syskeys 0 --pct-anyevent 0 --pct-touch 60 --pct-motion 40  --ignore-timeouts --ignore-security-exceptions --ignore-native-crashes -v -v -v 10000 >monkey.txt    执行monkey命令

 

adb 常用命令

标签:input   put   启动   out   --   dump   find   信息   package   

人气教程排行