how come my android devices are not visible on my Mac?

12,915

I had to download the Android File Transfer mac application, and then it worked fine. I also had to use the right USB cord -- some don't have a data channel.

Share:
12,915

Related videos on Youtube

mdarwin
Author by

mdarwin

Updated on May 25, 2022

Comments

  • mdarwin
    mdarwin almost 2 years

    I'm new to android development so apologies if this is a stupid question.

    I'm having trouble seeing my android devices in Eclipse. I've switched on USB debugging, configured them to connect as a camera not mass storage, but when I run ./adb devices, there's no device showing, even though I have a Samsung Galaxy and a LG Nexus connected via USB. On both phones I get a notification saying "USB debugging connected" and "connected as a camera" so the phone obviously thinks it's connected.

    The problem appears to be intermittent. Sometimes the Galaxy shows up:

    Macbook:~/workspace/android-sdks/platform-tools ./adb devices
    List of devices attached 
    3334AB246B5200EC    device   
    

    Then I unplug and reconnect it, and it disappears.

    I've tried 3 cables and 2 devices now. Should I just give up and use an emulator instead?

    • Jim
      Jim about 10 years
      I sometimes get intermittent behavior on my Mac. Have you tried restarting ADB after connecting? Also "connected as camera" doesn't happen on mine, but it did before and that seemed to be like "mass storage" - not good. Do you need that?
    • Christopher
      Christopher almost 10 years
      Wow - I just had a similar issue - was going nuts. My device had been visible to Eclipse for days, then all of a sudden (no reboots involved) it was just gone. Unplugging/plugging it back in didn't do anything. I then plugged the USB cable into a different slot and boom ... it came back. Super weird.
    • Firnaz
      Firnaz about 9 years
      May i know whether it is for first time you are connecting the device to mac. If it is first time it will show msg as whether "To allow this device to access from this computer" or not. You can click OK by checking the box "Always Allow".