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:

[code]
./adb devices
List of devices attached
???????????? no permissions
[/code]

To fix this, just run these commands from your SDK/platform-tools folder to restart the ADB server with root permissions:
[code]
./adb kill-server
sudo ./adb start-server
[/code]

Now your devices should appear:
[code]
./adb devices
List of devices attached
HT09PR201016 device
[/code]
Also, make sure to enable USB debugging on your device in Settings -> Applications -> Development.


Posted

in

by

Comments

One response to “Android USB Debugging on Ubuntu Linux 11.10”

  1. Yeison Avatar

    Merci bucaeoup pour le tuto, je ne parvenais pas a creer une application HelloWorld qui fonctionne sur mon telephone avec Eclipse, la avec ant debug ca m’a cree un apk fonctionnel.Et je trouve ca plus pratique en ligne de commande.

Leave a Reply

Your email address will not be published. Required fields are marked *