日期:2014-05-16 浏览次数:20422 次
adb devices
adb -s <devices-name> forward tcp:8080 tcp:8080
adb install <path_to_apk>
adb shell am start -W -n <apk-package-name>/<apk-package-activity-name>
adb shell
ls data/data
adb shell pm uninstall -k <apk-package-name>
adb pull <remote> <local>
adb push <local> <remote>
adb kill-server
adb start-server
adb shell
adb shell sendevent <device> <type> <code> <value>
adb shell sendevent /dev/input/event0 1 229 1
adb shell sendevent /dev/input/event0 1 229 0
key name | code |
MENU | 229 |
HOME | 102 |
BACK (back button) | 158 |
CALL (call button) | 231 |
END (end call button) | 107 |