手机测试中adb常用命令

adb kill-server

adb start-server
adb devices

adb get-state , 获取设备的状态

adb shell ps | grep adbd ,可以找到该后台进程,windows 请使用 findstr 替代 grep
adb shell getprop | grep xxx
adb shell rm xxx
adb shell
adb root
adb reboot
adb reboot fastboot
adb remount
adb install

adb uninstall

pm install

pm uninstall

adb logcat
adb pull
adb push
adb shell input text

 

posted on 2019-03-04 20:23  爱编程的熊迪  阅读(690)  评论(0编辑  收藏  举报