Android - multiple connected devices via USB

Is it possible to connect two (or more) Android devices via USB to a dev device and simultaneously debug programs on both devices? I am trying to do this with Atrix and Nexus One with no luck.

I could not find much documentation about this, which made me believe that this was impossible ...

+2
source share
1 answer

You can, of course, connect two Androids from USB to the same dev machine, and you can debug both of them.

If you use adb, you need to specify which Android you are debugging, and can only debug one at a time.

If you use Eclipse (Helios), you can select the device in the Android device view and see the output in the Android Logcat view. And I notice that if you select Android A and then Android B several times, you will get mixed Logcat output from both devices. I do not know if this is constructive behavior, and may not work the same in all versions of Eclipse, but it can be useful.

Another approach is to monitor one device in Eclipse and the other in DDMS.

+4
source

All Articles