Restarting in TCP mode port 5555 hangs adb
Just plug out your USB wire at that moment and it will connect.
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 ))))