问题描述
我正在使用Eclipse的Android插件,当我尝试通过Android设备选择器使用真实的设备运行我的程序时,我的手机不被列为设备。我已经更新了Eclipse,所有的Android软件包和USB驱动,但它仍然没有出现。我的手机正在运行Android 2.1,这也是Eclipse项目中列出的目标版本。此外,该设备出现为未知目标,序列号作为问号,如屏幕截图所示。
我刚刚和摩托罗拉Droid有同样的问题。我有3个设备,在ADB中只有1个。工作中出现的android adb复合接口在设备管理器中出现,而没有工作的2显示为android adb界面。在Windows 7中,我做了以下操作。
- 右键单击计算机然后管理
- 展开Android手机列表顶部
- 右键单击Android ADB接口,然后更新驱动程序软件
- 浏览我的电脑以获取驱动程序软件
- 让我从计算机上的设备驱动程序列表中选择
- 选择USB复合设备,然后选择下一个
如果USB复合设备不显示,请尝试浏览到android sdk目录中的usb_driver文件夹,然后再尝试步骤5和6。
注意:如果Android没有出现在这个列表的顶部,如#2所述,和/或者你找到没有驱动程序的设备ADB,那么你可能需要安装设备驱动程序(在我的例子中是HTC Glacier)位于我的手机上。
I am using the Android plugin for Eclipse, and when I try to run my program using a real device through the Android Device Chooser, my phone is not listed as a device. I have updated Eclipse, all of the Android packages, and the USB driver, but it still isn't showing up. My phone is running Android 2.1, which is also the target version listed in the Eclipse project.
Also it happens that the device shows up as an unknown target and the serial number as question marks as shown in the screenshot.
I just had the same issue with the Motorola Droid. I had 3 devices and only 1 was detected in the ADB. The one that worked showed up in device manager as "android adb composite interface" and the 2 that did not work showed up as "android adb interface". In Windows 7 I did the following.
- Right Click Computer then Manage
- Expand Android phone at the top of the list
- Right click Android ADB Interface then Update Driver Software
- Browse my computer for driver software
- Let me pick from a list of device drivers on my computer
- Choose USB Composite Device then next
If USB Composite Device doesn't show up then try browsing to the usb_driver folder in your android sdk directory for step 5 then try step 5 and 6 again.
Note : If Android does not appear at the top of this list as described in #2 and/or you find a device ADB with no drivers then you probably need to install the device driver, which in my case (HTC Glacier) was located right on my phone.
这篇关于为什么Eclipse的Android设备选择器没有显示我的Android设备?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!