Android ADB no permissions issue

It took a while to figure out this little annoying config issue while setting my android phone for development, so here it goes (thanks to comments on

At the time of writing these lines, if you follow the official android documentation on this topic, you’ll probably get this frustrating error message.

$ ~/bin/android/tools/adb devices
List of devices attached 
????????????    no permissions

Then, to fix it, you should edit your “/etc/udev/rules.d/50-android.rules” that way:

SUBSYSTEM==“usb”, SYSFS{idVendor}==“0fce”, MODE:=“0666″

Please, mind the “:=” on MODE, instead of just “=”. This last one doesn’t work on Ubuntu 10.04. After restarting the udev daemon connecting/desconnecting the device, you should get something like:

$ ~/bin/android/tools/adb devices
List of devices attached 
CB511JDU5Y  device

Hope that helps !

UPDATE: Filed the issue on android bugtracker.