Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Restarting in TCP mode port 5555 hangs adb

Tags:

android

adb

wifi

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?

like image 399
Greg Peckory Avatar asked Jun 16 '15 09:06

Greg Peckory


Video Answer


4 Answers

Just plug out your USB wire at that moment and it will connect.

like image 75
YTerle Avatar answered Nov 12 '22 21:11

YTerle


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 ))))

like image 33
nAkhmedov Avatar answered Nov 12 '22 21:11

nAkhmedov


I have the same problem sometimes, when that happens, use 5556 or other port. that works for me.

like image 21
Utkan Ozyurek Avatar answered Nov 12 '22 20:11

Utkan Ozyurek


When adb tcpip 5556 is not responding, remove your data cable and reconnect cable

adb shell netcfg - for finding phone ip.
adb connect ip:5556 the device will be successfully added.
adb devices - list all devices connected.

like image 32
Ajith Ramesh Avatar answered Nov 12 '22 19:11

Ajith Ramesh