Debug android app without using a usb cable.
You need to connect your device to your computer via USB cable. Make sure USB debugging is working. You can check if it shows up when running adb devices
.
Run adb tcpip 5555
Disconnect your device (remove the USB cable).
Go to the Settings -> About phone -> Status to view the IP address of your phone.
Run adb connect ${ip_address_of_device}:5555
If you run adb devices
again, you should see your device.
List of devices attached
192.168.1.2:5555 device