Reputation: 81
I am new to mac and trying to use various Android devices for development. Everything was working fine till today when Android devices simply wont show up in DDMS view in eclipse. I have tried to use Terminal to look up connected Android devices using:
~adb devices
Device list comes up empty. Emulator shows up fine in the DDMS view as well as in the device list from command line.
I have tried the following:
Disconnected the device from the computer.
Restart the computer.
Restart the device.
Connected the device.
adb kill-server
, adb start-server
Nothing seems to work. Any advice will be much appreciated.
Upvotes: 2
Views: 7974
Reputation:
Run any project in Emulator.While running the Project you can see the device in DDMS.
Upvotes: 0
Reputation: 11701
Start USB debugging(in settings>applications>developer options) on device first.
And still there is problem, try following link. http://developer.android.com/tools/device.html
It helped me to detect my Micromax Canvas Hd
Upvotes: 0
Reputation: 2186
Firstly ensure that your device is connected in "Charge Only" mode, so that the sd-card is not mounted on your local system while testing.
Next, if you're on Ubunutu, as mentioned on the Android Dev website here, you need to set up the device for development to see it in the list.
If you're developing on Ubuntu Linux, you need to add a udev rules file that contains a USB configuration for each type of device you want to use for development. In the rules file, each device manufacturer is identified by a unique vendor ID, as specified by the ATTR{idVendor} property.
EDIT: So you're on a mac, then a little lookup throws this SO question up. According to the post, this was the work-around:
ADB on Mac OS X stops recognizing the attached device after installing EasyTether driver. Use kextload/kextunload to unload from memory the EasyTetherUSBEthernet.kext kernel extension manually. It is in /System/Library/Extensions/
Upvotes: 6