Debug android app in physical device without USB cable using adb commands
Sometime we may feel so irritating when USB cable get disconnected while debugging. To get rid of this problem , we can use adb commands to connect physical device with development computer(Laptop).
These are the commands for this process:
adb devices adb tcpip 5555 adb connect 192.168.1.4
in above command, we are debugging in device, whose ip address is 192.168.1.4