

Otherwise, if you keep an eye on your battery and do not restart your phone, you can live without a cable for weeks! Thus, if your battery died, you have to start over. Unfortunately, the android phones lose the WiFi-debug mode when restarting. You do have to connect to your phone again by executing steps 4 to 6. Now you might ask, what do I have to do when I move into a different workspace and change WiFi networks? You do not have to repeat steps 1 to 3 (these set your phone into WiFi-debug mode). Now you can execute adb commands or use your favorite IDE for android development - wireless! Step5: Run adb devices again, you should see your device.

Step3: Go to the Settings -> About phone -> Status to view the IP address of your phone.Įx: C:\pathToSDK\platform-tools>adb connect 192.168.0.2 You can check if it shows up when running adb devices.Įx: C:\pathToSDK\platform-tools>adb tcpip 5555ĭisconnect your device (remove the USB cable). \AppData\Local\Android\sdk\platform-toolsĮx: C:\pathToSDK\platform-tools>adb devices You can check if it shows up when running adb devices. You need to connect your device to your computer via USB cable. Is there I way to do this connection without the need of a cable at all?Īdb over wireless without USB cable at all for not rooted phones. I search StackOverflow, but all answers I found involving connect via USB cable before. I search for any reasonable option in "Android Development Options" and enabled everything seemed to have relation with Wifi. I installed a terminal application on my Android and tried to execute that command there, but I received a "device not found" error. I don't understand why I have to do it every time, since I already execute the 'adb tcpip' command before. Then I can unplug the USB cable and connect via 'adb connect IP'.īut now I cannot execute the first command because I don't have a cable. When I work at home I can do it just connecting the USB cable and executing the command 'adb tcpip 5555'. I'm travelling and I forgot my USB cable. I want to debug Android APPs on my phone (LG nexus 4).
