

I solved the problem by manually reconnecting the Wifi after unplugging usb by adb connect 192.168.43.1Īfter that adb devices -lshows a single wifi connected device. For me this was the reason that I could not use Android WiFi ADB plugin for android studio. In my case both connections are closed immediately! This may not be the case for all users. The tricky part comes when unplugging the USB connection. ZY2244N2ZZ device product:athene model:Moto_G_4_ device:atheneġ92.168.43.1:5555 device product:athene model:Moto_G_4_ device:athene The command adb devices -l should now display two devices if everything is ok. In my case the command looked like adb connect 192.168.43.1 Create wireless debugging connection adb connect IPADDRESS.Issue command adb tcpip 5555 to open a port on the device for adb connection.On PC look into network connection status of this hotspot connection to find the IPADDRESS of your device.Create a Wifi hotspot on the Android device.

This is more private and does not open your debugging connection to the (public) wlan.

I prefer to connect with a hotspot on the device. Connecting device directly using a hotspot Then identify the IP address of the android device by looking into its wlan settings. If you have a local wlan you can connect your android device and your pc to this wlan. The following solution overcomes this problem. In my case it failed to keep the Wifi connection to my device after unplugging USB. I recommend this solution to everybody experiencing problems using integrated solutions like Android WiFi ADB plugin. I used the following steps to successfully debug over wifi connection.
