如何在 Windows 7 上安装 Nexus One 的 USB 驱动程序以进行调试?
我已经实现了一个简单的 Android 应用程序,现在我想在真实设备上测试它。我有一台 Nexus One。
在Android Eclipse插件中,我已经下载并安装了USB驱动程序(修订版3)包。但是,当我使用 USB 电缆将 Nexus One 连接到电脑(运行 Windows 7)时,会弹出一个消息框,并显示“Nexus One”的“未找到驱动程序”。
我已在设备上激活USB 调试。当我在 PC 上运行 adb devices
时,它只打印 附加设备列表
,但没有列出任何设备。如果我在 Windows 中使用设备管理,并尝试更新“Nexus One”的驱动程序,我无法在 Android SDK 的“驱动程序目录”中选择驱动程序 。
如何在 Windows 7 上安装 Nexus One 驱动程序,以便使用它在真实设备上对 Android 应用程序进行 USB 调试?
I have implemented a simple Android application that I now would like to test on a real device. I have a Nexus One.
In the Android Eclipse plugin, I have downloaded and installed the USB driver (revision 3) package. But when I connect my Nexus One to my PC (running Windows 7) using the USB cable, a message box pops up and shows that "No driver found" for "Nexus One".
I have activated USB Debugging on my device. And when I run adb devices
on my PC, it just prints List of devices attached
and no devices are listed. And if I use Device Manages in Windows, and tries to update the driver for "Nexus One", I can not select a driver in the "driver directory" of Android SDK.
How can I install a driver for Nexus One on Windows 7 so I can use it for USB debugging my Android applications on a real device?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
http://developer.android.com/sdk/win-usb.html
http://developer.android.com/sdk/win-usb.html
自 2013 年 3 月起,您无需安装任何 Nexus One 驱动程序 - 如果您允许,Windows 7 可以自动在线安装驱动程序。该驱动程序将被命名为
Android Composite ADB Interface
:只需确保让Windows 从 Windows 更新安装驱动程序:在开始搜索字段中键入“更改设备安装设置”,然后选中“如果在我的计算机上找不到,请从 Windows 更新安装驱动程序软件。”:
为什么要这样做?因为您不必安装整个 Android SDK 或 ~400MB ADT 捆绑包,(顺便说一下)在
\extras\google\usb_driver\
目录中不再有驱动程序文件,尽管 Google 的声明。As of March 2013, you don't need to install any Nexus One driver - Windows 7 is able to install the driver online automatically if you allow it. The driver will be named
Android Composite ADB Interface
:Just make sure to let Windows install drivers from Windows Update: type "Change device installation settings" in the Start search field and check "Install driver software from Windows Update if it is not found on my computer.":
Why do this? Because you don't have to install the entire Android SDK, or the ~400MB ADT Bundle, which (by the way) no longer has the driver files in the
\extras\google\usb_driver\
directory, despite Google's claim.进入设置->应用->开发并检查 USB 调试是否已启用。
丹尼.
Go to Settings -> Applications -> Development and check that USB Debugging enabled.
Danny.
最好使用 Dropbox 或 Fiabee 等同步产品,您将能够轻松地来回传输任何内容,适用于所有 USB 电缆:)
在第二种情况下,您甚至可以同步照片,而不必担心复制它们。
better use a sync product like Dropbox or Fiabee, you'll be able to transfer anything back and forth with no effort, works with all USB cables :)
In the second, you can even synchronize your photos without having to worry about copying them.