August 19, 2019 / Reading time: 1m

Android debugging over Wi-Fi

android

Let’s get that cable off your desk, well sort of.

Debug over WIFI

Connect the device via USB and make sure debugging is enabled.

1. Open the terminal

adb tcpip 5555

2. Find the IP address:

  • macOS:
adb shell ip route
  • Windows:
adb shell netcfg

3. Connect to your device:

adb connect <DEVICE_IP_ADDRESS>:5555

4. Disconnect USB and proceed with wireless debugging.


EXTRA

To switch back to USB when done:

adb -s <DEVICE_IP_ADDRESS>:5555 usb

No root required.


Sources

Share