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

发布于 2024-09-30 21:14:39 字数 677 浏览 5 评论 0原文

我已经实现了一个简单的 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 调试? Android SDK 和 AVD 管理器 设备管理器

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".

Driver Software Installation

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?
Android SDK and AVD Manager
Device Manager

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

莫多说 2024-10-07 21:14:39

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

适用于 Windows 的 USB 驱动程序是 Android SDK 的可下载组件。如果您在 Windows 上进行开发并希望连接 Android 设备来测试您的应用程序,那么您将需要安装 USB 驱动程序。

本文档提供有关最新版本 USB 驱动程序的信息以及在开发计算机上安装该驱动程序的指南。

<小时>

适用于 Windows 的 USB 驱动程序,修订版 3(2010 年 1 月)
添加了对 Nexus One 的支持。

<小时>

Windows 的 USB 驱动程序是
可供选择下载
SDK组件。你需要司机
仅当您在 Windows 上进行开发时
并想要连接 Android 驱动的
设备到您的开发环境
通过 USB。

安装驱动程序或升级您的
现有驱动程序更新到最新版本
修订版,您必须先下载
驱动程序到您的开发计算机。

要下载驱动程序,请使用
Android SDK 和 AVD Manager 工具
包含在 Android SDK 中。如果
你还没有安装安卓系统
SDK,如安装
Android SDK
,请先这样做
继续与司机
安装。

当您准备好下载时
司机,请按照给出的指示进行操作
添加 SDK 组件 中启动
Android SDK 和 AVD 管理器。从
可用包面板,选择“Usb
驱动程序包”并下载到
你的电脑。驱动程序文件是
下载到 \usb_driver
目录。

下载后,按照
下面的说明来安装或
根据您的情况升级驱动程序
需求和Windows操作系统
版本。如果您正在连接
Android 设备到您的
第一次使用电脑,请关注
以下过程“执行
全新安装。”如果有
安装了较旧的 USB 驱动程序之一
并想升级到
最新版本,按照流程操作
到“升级现有驱动程序。”

完成 USB 驱动程序后
安装,请参见开发
用于其他重要的设备

有关使用的信息
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 Installing the
Android SDK
, please do so before
continuing with the driver
installation.

When you are ready to download the
driver, follow the instructions given
in Adding SDK Components 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 Developing on
a Device
for other important
information about using an
Android-powered device for
development.

请叫√我孤独 2024-10-07 21:14:39

自 2013 年 3 月起,您无需安装任何 Nexus One 驱动程序 - 如果您允许,Windows 7 可以自动在线安装驱动程序。该驱动程序将被命名为 Android Composite ADB Interface

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:

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.":

enter image description here

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.

胡大本事 2024-10-07 21:14:39

进入设置->应用->开发并检查 USB 调试是否已启用。

丹尼.

Go to Settings -> Applications -> Development and check that USB Debugging enabled.

Danny.

╄→承喏 2024-10-07 21:14:39

最好使用 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文