I cannot use adb connect
to connect via wifi to my device (nexus 5, android 6), but since i\'m developping a cordova plugin using usb OTG, I really need to connect
I had the same issue. i tried all commands like adb kill-server
then
adb tcpip 5555
then
adb connect <IPAddress>:5555
but the issue remain same
the IP address which i used to connect ... showing me message unable to connect .....
what i did is go to phone's settings
then About phone
then Status`
then check IP address
Now try to connect phone with that IP address
Note : - The problem is the IP address changed which i used to connect
sudo adb start-server
Just worked for me. after A day of looking for a solution.