How are my Android devices not visible on my Mac?

I'm new to Android development, so I apologize if this is a stupid question.

I'm having trouble connecting Android devices in Eclipse. I turned on USB debugging, configured them to connect as a camera, and not for mass storage, but when I start the devices. / adb, there is no device there, although I have a Samsung Galaxy and LG Nexus connected via USB. On both phones I get a notification that "USB debugging is connected" and "connected as a camera", so the phone clearly believes that it is connected.

The problem seems intermittent. Sometimes a galaxy appears:

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

Then I disconnect and reconnect it, and it disappears.

I tried 3 cables and 2 devices now. Should I just refuse to use the emulator instead?

+3
source share
3 answers

I had to download the Mac File Transfer application and then it worked perfectly. I also had to use the correct USB cable - some do not have a data channel.

+1
source

I know that your problem is intermittent, and, as Jim says, restarting Eclipse helps when disconnecting the USB device and plugging it in again does not help. However, I found this extremely useful for discovering a new device: adb did not find my device / phone (MacOS X) . Give this snapshot to devices already discovered to see if this helps.

0
source

adb . "adb kill-server", "adb devices"

0

All Articles