Wirelessly Debugging of your Android App on Smartphone

First Set Path for adb command through system environment variable :

F:\adt-bundle-windows-x86_64-20140702\sdk\platform-tools

Now type following commands on command prompt :

  1. Connect device via USB and make sure debugging is working.
  2. adb tcpip 5555
  3. adb connect <DEVICE_IP_ADDRESS>:5555
  4. Disconnect USB and proceed with wireless debugging.
  5. adb -s <DEVICE_IP_ADDRESS>:5555 usb to switch back when done.
<DEVICE_IP_ADDRESS> : type following command adb shell ifconfig wlan0

Now check, how many devices are connected through USB :

adb devices
List of devices attached
######## device
Now your device is visible in list where we can run android application.




Share this

Related Posts

Previous
Next Post »