Android USB Debugging on Ubuntu Linux 11.10

I recently set up a new development machine with Ubuntu Linux 11.10, but ran into this problem trying to list connected Android devices with the adb command:

./adb devices
List of devices attached 
???????????? no permissions

To fix this, just run these commands from your SDK/platform-tools folder to restart the ADB server with root permissions:

./adb kill-server
sudo ./adb start-server

Now your devices should appear:

./adb devices
List of devices attached 
HT09PR201016	device

Also, make sure to enable USB debugging on your device in Settings -> Applications -> Development.

About this entry