adb devices
Displayed connected devices
adb install [app name]
Install app on device
adb -s [deviceSerial] [] install [packegeName]
Install app on specific device
adb uninstall [PackegeName]
Uninstall app
adb devices | tail -n +2 | cut -sf 1 | xargs -IX adb -s X uninstall com.myAppPackage
uninstall app from specific device
adb -r install [appName]
Reinstall app on device
adb shell monkey -p com.myAppPackage -v 10000 -s 100
Generate 1000 random events on real device
adb pull (File location on device) (File location on local machine)
Pull files from device
adb push (File location on local machine) (File location on device)
Write files to device
Device logs
adb logcat print current device logs
adb logcat -c -- clears current logs on device
adb logcat -d[] > [path to file] -- saves logs to local system
Start and Stop ADB server
adb start -server --starts server
adb stop -server -- stops server
Comments