Hi

 -d                            - directs command to the only connected
USB device
                                 returns an error if more than one USB
device is present.
 -e                            - directs command to the only running
emulator.
                                 returns an error if more than one
emulator is running.
 -s <serial number>            - directs command to the USB device or
emulator with
                                 the given serial number

This would help you connect the ADB to the correct device.

Greetings
Till

On 15 Jul., 01:10, intbt <in...@tacberry.com> wrote:
> I have found that if I am trying to run Eclipse with the G1 connected
> (vis USB), logcat will only output info from programs running on the
> phone - not when I run code on the emulator. If I disconnect the phone
> and then run the emulator version, logcat provides the desired output.
>
> I also have now discovered that if I connect the G1, the SD Card on
> the emulator shows the contents of the G1 SD Card, whether I am
> running code on the emulator or the phone. This was a little confusing
> as I expected the AVD to control the SD Card when I run a virtual
> version, not the attached 'real' phone.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to