Android debugging usually involves connecting your phone to your development machine and debugging via the IDE or Chrome Dev tools. This is a great solution however it requires that you be physically tethered to the device via USB cable. We all know the issues involved with this, bad USB cable, connection disconnection etc. The good news is that you can debug via wifi using ADB wireless debugging.

@echo off
adb tcpip 5555
adb shell ifconfig | find /I "inet addr:192.168"
set ipaddr = ""
set /p ipaddr=Enter IP address of phone:
adb connect %ipaddr%:5555
kimanii Uncategorized

Leave a Reply

Your email address will not be published. Required fields are marked *