The problem
Developing on Ubuntu Linux, the Android Device Chooser does not recognize the Android device I connect to the computer to run my Android application. The screen I am presented with looks like the following.
Running "adb devices" in command line returns:
List of devices attached
???????????? no permissions
The solution
Log in as root and create this file:
/etc/udev/rules.d/51-android.rules
Using the following format add the device's vendor to the file:
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666", GROUP="plugdev"
USB vendor IDs can be found
here. The device's vendor, if unknown, can be detected using a tool like
udev-discover.
Execute:
chmod a+r /etc/udev/rules.d/51-android.rules
sudo service udev reload
Plug in the device, it should be recognized correctly.
Source