I have a Nexus One phone running Android 2.3.4. I am trying to build an application using the USB open accessory library. To do this I have selected Google APIs 10 as the Build Target. The project is actually an application provided by Microchip that I know works on this device. I installed the APK of the application to the phone manually and it works. Now I want to be able to debug and modify the application.
When I press the Run button and it comes time to choose a platform. The Android Device Chooser window comes up with the following with the Nexus One plugged in:
Any ideas?
Thanks,
EDIT: I working in a Linux development environment. Specifically Fedora 14.
The solution was to create a udev rule for the device. See http://developer.android.com/guide/developing/device.html#setting-up for how to setup a udev rule for your specific vendor device.
With the rule in place. Eclipse was able to launch and debug.
Supposing you are on Linux: Your device-node-permissions are very likely wrong. Check if this is true by issuing a:
adb kill-server sudo adb start-server adb devices
on your computer. This launches the adb-server as root. If this work, and it doesn't work if you leave out the sudo
, you have a permission-problem.
The solution depends uppon your distribution and your installed versions check this blog entry which explains how to generate a udev
file for Ubuntu.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With