Gerrit
android update sdk --no-ui
adb logcat MyActivity:* *:S
Connecting adb over Wi-Fi
adb tcpip 5555
adb connect 192.168.1.x
adb shell am startservice –a <intent action>
adb shell pm list packages
adb shell monkey –p <package name> <event count>
http://developer.android.com/tools/help/monkeyrunner_concepts.html#APIClasses
原文:http://www.cnblogs.com/anjuncc/p/5335424.html