为什么Eclipse的Android设备选择器没有显示我的Android设备? [英] Why is Eclipse's Android Device Chooser not showing my Android device?

查看:157
本文介绍了为什么Eclipse的Android设备选择器没有显示我的Android设备?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Eclipse的Android插件,当我尝试通过Android设备选择器使用真实的设备运行我的程序时,我的手机不被列为设备。我已经更新了Eclipse,所有的Android软件包和USB驱动,但它仍然没有出现。我的手机正在运行Android 2.1,这也是Eclipse项目中列出的目标版本。



此外,该设备出现为未知目标,序列号作为问号,如屏幕截图所示。



解决方案

我刚刚和摩托罗拉Droid有同样的问题。我有3个设备,在ADB中只有1个。工作中出现的android adb复合接口在设备管理器中出现,而没有工作的2显示为android adb界面。在Windows 7中,我做了以下操作。


  1. 右键单击计算机然后管理

  2. 展开Android手机列表顶部

  3. 右键单击Android ADB接口,然后更新驱动程序软件

  4. 浏览我的电脑以获取驱动程序软件

  5. 让我从计算机上的设备驱动程序列表中选择

  6. 选择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.

  1. Right Click Computer then Manage
  2. Expand Android phone at the top of the list
  3. Right click Android ADB Interface then Update Driver Software
  4. Browse my computer for driver software
  5. Let me pick from a list of device drivers on my computer
  6. 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设备?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆