Hello good people of stack exchange, I am having trouble setting up my Ubuntu 11.04 boot to use for app development on a hardware device. I have followed the instructions here to try and recongnize the phone. However, when I run ADB devices or in eclipse, the device is listed as ?????? and can not be used to install an app to. Any advice?

3 Answers
3

The problem is that you ran adb as an underprivileged user. So when adb server starts, it does not have the permissions to run read/write to the device. First you have to kill the server, and then restart it as root:

sudo adb kill-server
sudo adb start-server
Then you can run this as any user:
adb devices

As stated by aspitzer use sudo to start the adb server. Also make sure you've got the correct device code. You can find this by using lsusb and looking at the code given here (use the first 4 characters)