Skip to content

Instantly share code, notes, and snippets.

@k3muri84
Last active September 13, 2017 14:54
Show Gist options
  • Save k3muri84/5ffe131c4382be6c27c082c99ab5f7ab to your computer and use it in GitHub Desktop.
Save k3muri84/5ffe131c4382be6c27c082c99ab5f7ab to your computer and use it in GitHub Desktop.
ADB Install & Run on multiple devices
adb devices | tail -n +2 | cut -sf 1 | xargs -I {} adb -s {} install -r yourBuild.apk
adb devices | tail -n +2 | cut -sf 1 | xargs -I {} adb -s {} shell monkey -p com.yourcompany.product -c android.intent.category.LAUNCHER 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment