Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OS X 10.6.6 and "adb devices" fails to list android devices

Tags:

android

macos

adb

adb devices was working fine last year, but after upgrades and new software installs, adb devices no longer recognizes USB attached Android devices.

Here is what I have tried:

adb kill-server adb devices  adb usb   error: Device not found 
like image 414
RSStepheni Avatar asked Jan 13 '11 13:01

RSStepheni


People also ask

Why my device is not showing in ADB devices?

On Android 5.0, go to Settings -> Storage -> menu -> USB computer connection and make sure 'Media device (MTP)' is disabled. When it's disabled 'adb devices' lists the device, when enabled not.


2 Answers

If you have installed EasyTether on OS X, the EasyTetherUSBEthernet.kext can prevent adb from communicating with your mobile device.

If you use Easy Tether, BEFORE you plug in your phone run:

sudo kextunload /System/Library/Extensions/EasyTetherUSBEthernet.kext 

(or unplug/plug your phone in after)

If you are done debugging and want to use EasyTether again, either restart or:

sudo kextload /System/Library/Extensions/EasyTetherUSBEthernet.kext 

If you want to remove the EasyTether kext so it never hassels you again:

sudo kextunload /System/Library/Extensions/EasyTetherUSBEthernet.kext sudo rm -rf /System/Library/Extensions/EasyTetherUSBEthernet.kext 

Reference/Credit: http://www.intohand.com/post.php?s=2011-02-17-android-debug-bridge-not-just-working-on-mac

like image 196
whitehat101 Avatar answered Sep 30 '22 16:09

whitehat101


Having just connected a brand new Motorola Atrix 2 to my Mac running 10.6.8, I had to pull down the menu from the top of the screen, tap on "USB Connection", and change it from "Motorola Phone Portal" to "Charge Only" before it would show up in my list of devices from adb. Hope this helps!

like image 33
D.McG. Avatar answered Sep 30 '22 18:09

D.McG.