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

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

问题描述

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

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.

推荐答案

我刚刚在使用 Motorola Droid 时遇到了同样的问题.我有 3 台设备,但在 ADB 中仅检测到 1 台.有效的一个在设备管理器中显示为android adb 复合界面",而无效的 2 个显示为android adb 界面".在 Windows 7 中,我执行了以下操作.

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. 右键单击计算机然后管理
  2. 在列表顶部展开 Android 手机
  3. 右键单击 Android ADB 接口,然后更新驱动程序软件
  4. 浏览我的计算机以查找驱动程序软件
  5. 让我从计算机上的设备驱动程序列表中选择
  6. 选择 USB Composite Device 然后下一步

如果 USB Composite Device 没有出现,请尝试浏览您的 android sdk 目录中的 usb_driver 文件夹以进行第 5 步,然后再次尝试第 5 步和第 6 步.

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.

注意:如果 Android 没有出现在此列表的顶部,如#2 中所述和/或您找到一个没有驱动程序的设备 ADB,那么您可能需要安装设备驱动程序,在我的情况下(HTC Glacier)就在我的手机上.

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天全站免登陆