Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.1k views
in Technique[技术] by (71.8m points)

debugging - 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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

1.4m articles

1.4m replys

5 comments

57.0k users

...