Skip to content

Instantly share code, notes, and snippets.

@chipcerio
Created August 21, 2019 11:04
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 chipcerio/994d5dd39d0837c0fc444550a9241c57 to your computer and use it in GitHub Desktop.
Save chipcerio/994d5dd39d0837c0fc444550a9241c57 to your computer and use it in GitHub Desktop.
Debug android app without using a usb cable.

adb over WiFi

Debug android app without using a usb cable.

Connect device to computer

You need to connect your device to your computer via USB cable. Make sure USB debugging is working. You can check if it shows up when running adb devices.

adb tcpip

Run adb tcpip 5555

Disconnect device

Disconnect your device (remove the USB cable).

Determine IP Address

Go to the Settings -> About phone -> Status to view the IP address of your phone.

Connect

Run adb connect ${ip_address_of_device}:5555

Verify

If you run adb devices again, you should see your device.

List of devices attached
192.168.1.2:5555       device
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment