Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse: Android Device Chooser - Unknown Android 2.3.4 Device

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:

Android Device Chooser

Any ideas?

Thanks,

EDIT: I working in a Linux development environment. Specifically Fedora 14.

like image 678
linsek Avatar asked Sep 14 '11 16:09

linsek


2 Answers

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.

device

like image 89
linsek Avatar answered Sep 28 '22 01:09

linsek


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.

like image 42
theomega Avatar answered Sep 28 '22 01:09

theomega