chris
chris

Reputation: 4351

adb doesn't detect Android devices

When I plug in a device via USB, adb devices comes up empty. I followed the instructions on the Android site[1] by adding the code below and restarting the adb server (I also restarted my machine since I couldn't get it to work). Both my Nexus One and Samsung Nexus are still undetected.

~ cat /etc/udev/rules.d/51-android.rules

# nexus one
SUBSYSTEM=="usb", ATTRS{idVendor}=="18d1", SYMLINK+="android_adb", MODE="0666",    GROUP="wheel"
# samsung nexus
SUBSYSTEM=="usb", ATTRS{idVendor}=="04e8", SYMLINK+="android_adb", MODE="0666", GROUP="wheel"

Any ideas?

  1. http://developer.android.com/guide/developing/device.html

Upvotes: 6

Views: 7211

Answers (4)

Vitaliy A
Vitaliy A

Reputation: 3838

Try to:

  1. Uninstall old Kies
  2. Install: SAMSUNG Kies,PC Sync (Software) (ver.2.3.3.12085_7_5) from http://www.samsung.com/us/support/downloads/global#global_download_list

it worked for me :)

Upvotes: 0

DevByStarlight
DevByStarlight

Reputation: 1070

General answer is to verify / update the USB drivers.

I often find the USB driver that installs automatically from the device itself is either 1) out of date or 2) not intended for "true" application developer debugging support. (ie, more for "consumer" access to the device as a storage media rather than adb debugging support)

Android Developer page has a list of vendor links to get the USB drivers for the device

Upvotes: 0

chris
chris

Reputation: 4351

It turns out the problem was that when I initially installed the android sdk's there was an issue when doing it through eclipse and the solution was to run eclipse via sudo. This did allow everything to be installed, but I think it may have been responsible for my issues since all the files belonged to the sudo group. I re-downloaded the sdk and instead of installing the versions through eclipse I installed them by running the android terminal command. After installing, running the ddms detected my devices. ** I also notices that I pluralized the ATTR in my rules file. In the end below is what worked for me (after creating the adbusers group and adding myself).

# nexus one
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666", GROUP="adbusers"
# samsung nexus
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", MODE="0666", GROUP="adbusers"

Upvotes: 3

Rajdeep Dua
Rajdeep Dua

Reputation: 11230

Why is your GROUP 'wheel'? Try changing it to plugdev

Upvotes: 0

Related Questions