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?
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"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With