android – 如何在Windows 7上安装Nexus One的USB驱动程序以进行调试?

前端之家收集整理的这篇文章主要介绍了android – 如何在Windows 7上安装Nexus One的USB驱动程序以进行调试?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我已经实现了一个简单的 Android应用程序,我现在想在真实设备上进行测试.我有一个Nexus One.

在Android Eclipse插件中,我已经下载并安装了USB驱动程序(修订版3)包.但是当我使用USB线将Nexus One连接到我的PC(运行Windows 7)时,会弹出一个消息框,显示“Nexus One”找不到“找不到驱动程序”.

我已在设备上激活USB调试.当我在我的PC上运行adb设备时,它只打印附加的设备列表,并且没有列出任何设备.如果我在Windows中使用设备管理,并尝试更新“Nexus One”的驱动程序,我无法在Android SDK的“驱动程序目录”中选择驱动程序.

如何在Windows 7上安装Nexus One的驱动程序,以便在真实设备上使用它来调试我的Android应用程序?

解决方法

http://developer.android.com/sdk/win-usb.html

The USB driver for Windows is a downloadable component for the Android SDK. If you are developing on Windows and would like to connect an Android-powered device to test your applications,then you will need to install the USB driver.

This document provides information about the latest version of the USB driver and a guide to installing the driver on your development computer.


USB Driver for Windows,Revision 3 (January 2010)
Adds support for the Nexus One.


The USB Driver for Windows is
available for download as an optional
SDK component. You need the driver
only if you are developing on Windows
and want to connect an Android-powered
device to your development environment
over USB.

To install the driver or upgrade your
existing driver to the latest
revision,you must first download the
driver to your development computer.

To download the driver,use the
Android SDK and AVD Manager tool that
is included with the Android SDK. If
you haven’t yet installed the Android
SDK,as described in 07001,please do so before
continuing with the driver
installation.

When you are ready to download the
driver,follow the instructions given
in 07002 to launch the
Android SDK and AVD Manager. From the
Available Packages panel,select “Usb
Driver Package” and download it to
your computer. The driver files are
downloaded into the <sdk>\usb_driver
directory.

After the download,follow the
instructions below to install or
upgrade the driver,based on your
needs and Windows operating system
version. If you are connecting an
Android-powered device to your
computer for the first time,follow
the below procedure to “Perform a
fresh installation.” If you have
installed one of the older USB drivers
and would like to upgrade to the
latest version,follow the procedure
to “Upgrade an existing driver.”

Once you’ve completed the USB driver installation,please see 07003 for other important information about using an Android-powered device for development.

猜你在找的Android相关文章