Search code examples
androidwifiadb

Restarting in TCP mode port 5555 hangs adb


So I have been following a few tutorials online for setting up android app debugging through wifi, since my USB connection is broken.

The first command line input is giving me problems.

I type in

adb tcpip 5555

and get this message:

Restarting in TCP mode port 5555

This message just hangs and the process never finishes.

I tried different port numbers, same thing. Tried to connect to my device IP and no luck.

Any ideas?


Solution

  • Make sure desktop and device is connected the same network? and

    1) Switch on wi-fi
    2) adb tcpip 5555 - it restarts your device
    3) adb connect deviceIpAddress:5555
    4) Unplug your device and run project
    

    Enjoy the life ))))