android – debug on a physical device via WiFi

Question:

The question is rather strange:

I'm using ubuntu 14.04 and want to debug on my smartphone. But not via a usb cable, but via WiFi .

Is it possible to do this?

If so, how?

Answer:

Maybe. The official docks have information.

  1. Connect your device and computer to the same network.
  2. Connect via USB.
  3. Set up a listener on TCP / IP and port 5555.

    $ adb tcpip 5555

  4. Disconnect USB.

  5. Find the IP address of the device. For example, on the Nexuses, you can find the IP in Settings> About tablet (or About phone)> Status> IP address.

  6. Join this device adb connect <device-ip-address> .

  7. Please confirm:

    $ adb devices List of devices attached <device-ip-address>:5555 device

That's all.

Scroll to Top