A lot of Android developers out there will feel pretty annoyed about the constant use of USB connection to debug your app on a physical device. Luckily, I came across this method to debug over Wi-Fi and it is really simple to setup and use.
- For the last time connect your device using USB cable and execute:
adb tcpip 5555
- While the phone is connected execute:
adb connect <your-device-IP>
That’s all you need. Now un-plug your USB cable and Android Studio. Happy Coding!
Q: Where can I find the device IP?
A: Go to Settings -> Wi-Fi -> Advanced Settings and you will find it at the end of the page.
Q: Where is the adb command?