Eclipse: Android Device Chooser - Unknown Android 2.3.4 Device(Eclipse:Android 设备选择器 - 未知的 Android 2.3.4 设备)
问题描述
我有一部运行 Android 2.3.4 的 Nexus One 手机.我正在尝试使用 USB 开放附件库构建应用程序.为此,我选择了 Google APIs 10 作为构建目标.该项目实际上是 Microchip 提供的一个应用程序,我知道它适用于该设备.我手动将应用程序的 APK 安装到手机上,它可以工作.现在我希望能够调试和修改应用程序.
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.
当我按下运行按钮时,是时候选择一个平台了.插入 Nexus One 后,Android 设备选择器窗口会显示以下内容:
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:
有什么想法吗?
谢谢,
我在 Linux 开发环境中工作.特别是 Fedora 14.
I working in a Linux development environment. Specifically Fedora 14.
推荐答案
解决方案是为设备创建一个 udev 规则.请参阅 http://developer.android.com/guide/developing/device.html#setting-up 了解如何为您的特定供应商设备设置 udev 规则.
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.
规则到位.Eclipse 能够启动和调试.
With the rule in place. Eclipse was able to launch and debug.
这篇关于Eclipse:Android 设备选择器 - 未知的 Android 2.3.4 设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Eclipse:Android 设备选择器 - 未知的 Android 2.3.4 设备


- Android - 我如何找出用户有多少未读电子邮件? 2022-01-01
- 用 Swift 实现 UITextFieldDelegate 2022-01-01
- 使用自定义动画时在 iOS9 上忽略 edgesForExtendedLayout 2022-01-01
- 如何检查发送到 Android 应用程序的 Firebase 消息的传递状态? 2022-01-01
- android 4中的android RadioButton问题 2022-01-01
- MalformedJsonException:在第1行第1列路径中使用JsonReader.setLenient(True)接受格式错误的JSON 2022-01-01
- 在测试浓缩咖啡时,Android设备不会在屏幕上启动活动 2022-01-01
- 想使用ViewPager,无法识别android.support.*? 2022-01-01
- Android - 拆分 Drawable 2022-01-01
- Android viewpager检测滑动超出范围 2022-01-01