It seems that wireless ADB has more and more issues each time I update Android Studio. Using 2.1.1, I\'m now unable to connect to my tablet using the command:
I had same issue with Android Studio 3.5.2, here is how i solved it.
First you must connect your device via USB once. (Debugging mode starts only when usb is connected)
Go to command prompt : adb tcpip 5555 (watch for port on which adb started) then : adb connect :
After successful connection goto Studio>Run>Select Device.