Skip to content

Instantly share code, notes, and snippets.

@dustinrjo
Last active August 29, 2015 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dustinrjo/b5c7a3c2074e17bcbf10 to your computer and use it in GitHub Desktop.
Save dustinrjo/b5c7a3c2074e17bcbf10 to your computer and use it in GitHub Desktop.
adb guide for android testing

Instructions

  1. On the target device, uninstall the app.
  2. Get the local IP address of the target device.
  3. From dev device join the same local network.
  4. From local device run the following commands

adb kill-server

adb connect <target device ip with port number>

adb install <local path to apk file>

  1. Depending on device port number will change, see note below
  2. Depending on device, the connection must be accepted on the target device before adb will have permissions to install

Device Ports

Amazon: port 5555

Android TV: port 4321

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment