Skip to content

Instantly share code, notes, and snippets.

@sujaykumarh
Last active January 16, 2017 14:57
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 sujaykumarh/bf7ed3aba130ca915de0edf73a22595a to your computer and use it in GitHub Desktop.
Save sujaykumarh/bf7ed3aba130ca915de0edf73a22595a to your computer and use it in GitHub Desktop.
Android ADB remote debugging
============================================= IMPORTANT =========================================
$ means these commands needs to be executed in terminal and '$' should not be typed
=================================================================================================
to run adb commands run
$ cd /path-to-android-sdk/platform-tools/
test adb by running
$ adb version
---- For strating remote debuggin -------
$ adb tcpip 5555
redirect command to usb device
$ adb -d tcpip 5555
--------- connect -------------
$ adb connect <DEVICE_IP>:5555
or
$ adb connect <DEVICE_IP>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment