Wireless debugging adroid adb with USB accessory

I have an adb wireless connection working for debugging applications in eclipse, but I have a problem with an application using a USB cable to connect to the accessory.

The application is designed to run when the accessory is connected, so I establish an ADB connection, and then start debugging by eclipse, downloading code, etc., now when I connect the accessory in the application, it starts and starts, but loses connection to eclipse. Therefore, I canโ€™t debug!

+4
source share
2 answers

At the command prompt, run adb connect <device ip>:5555 again adb connect <device ip>:5555 after the tablet is connected to FT311 (I assume this is FT311 from your other question). Then it will connect again and then run adb logcat again and again.

+5
source

This is only a partial solution. Yes, you can reconnect via Wi-Fi (which works fine, BTW), but as soon as you disconnect or reconnect the USB cable, you will lose connection with ADB again - even if it works via WiFi and should not depend on USB on all.

So be careful, this works, but will not solve the problem if, for example, you try to debug everything that is connected with USB attach / detach Intents.

+2
source

All Articles