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
use android library
apply plugin: ‘android-library’
dependencies {
compile project(‘:libraries:MyLibrary’)
}