Android:HTC One X 的 ADB 驱动程序
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/11012944/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Android: ADB Driver for HTC One X
提问by Heshan Perera
I have been debugging on an HTC Desire for which I had the ADB drivers. Now I have been forced to debugging on an HTC One X, but I can't find the driver anywhere. The standard HTC driver that used with my desire (Running Android 2.2) does not get recognized as the right driver for the One X (running Android ICS).
我一直在调试带有 ADB 驱动程序的 HTC Desire。现在我被迫在 HTC One X 上调试,但在任何地方都找不到驱动程序。符合我的愿望(运行 Android 2.2)的标准 HTC 驱动程序没有被认为是 One X(运行 Android ICS)的正确驱动程序。
What are the other options that I have to enable launching and USB debugging on the HTC One X through Eclipse Helios ?
我必须通过 Eclipse Helios 在 HTC One X 上启用启动和 USB 调试的其他选项是什么?
回答by Bobs
Use HTCSync Version: 3.3.21. It has USB driver also. I installed it and after that I could debug my application. Read its help here.
使用HTCSync 版本:3.3.21。它也有USB驱动程序。我安装了它,然后我可以调试我的应用程序。在此处阅读其帮助。
Enjoy!
享受!
回答by Vaiden
HTC Sync is a damn bloatware.
HTC Sync 是一个该死的臃肿软件。
The latest naked drivers seem to be maintained in this XDA thread.
最新的裸驱动程序似乎在此 XDA 线程中维护。
回答by Deanna
You can force windows to use the standard Google ADB driver by selecting "Browse my computer for driver software", browsing to the Google USB driver folder, then "Let me pick from a list of drivers on my computer". This should then let you choose "Android ADB Interface" as the driver for your non Google phone.
您可以通过选择“浏览我的计算机以查找驱动程序软件”,浏览到 Google USB 驱动程序文件夹,然后“让我从计算机上的驱动程序列表中选择”来强制 Windows 使用标准的 Google ADB 驱动程序。这应该让您选择“Android ADB 接口”作为非 Google 手机的驱动程序。
Once installed, this works with ADB and Eclipse development as normal.
安装后,这可以正常使用 ADB 和 Eclipse 开发。
回答by Stefan
Here's how you can do it withoutHTC Sync bloatware:
以下是不使用HTC Sync 膨胀软件的方法:
Download HTC sync from http://www.htc.com/au/support/content.aspx?id=6196
Start the setup
The setup will report that some other components need to be installed first.
If you look at the list, you'll see that the driver is part of it.
Press "OK", this will install the driver, some DOS boxes will flash up.
The actual HTC sync setup starts. Abort the installation.
Have fun! No reboot was required for me. I didn't even have to re-plug the device.
从http://www.htc.com/au/support/content.aspx?id=6196下载 HTC 同步
开始设置
安装程序将报告需要先安装一些其他组件。
如果您查看列表,您会看到驱动程序是其中的一部分。
按“确定”,这将安装驱动程序,一些DOS框会闪烁。
实际的 HTC 同步设置开始。中止安装。
玩得开心!我不需要重新启动。我什至不必重新插入设备。
Tested on Windows 7 64bit.
在 Windows 7 64 位上测试。
回答by Blaketh
I installed the Google Windows USB ADB Driver from here
我从这里安装了 Google Windows USB ADB 驱动程序
by following the procedure for the Nook Simple Touch. That procedure, found is here
按照 Nook Simple Touch 的步骤操作。那个程序,找到是here
have you paste the following lines into two places in the adt-bundle-windows-x86\sdk\extras\google\usb_driver\android_winusb.inf
file:
您是否将以下几行粘贴到adt-bundle-windows-x86\sdk\extras\google\usb_driver\android_winusb.inf
文件中的两个位置:
; HTC One X
%SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_0CED
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0CED&MI_01
Then I had to kill the ADB server and restart it.
然后我不得不杀死 ADB 服务器并重新启动它。
回答by Hassan
For those of you who don't want to install the HTC bloatware, I extracted the USB driver from the package and hosted it on my website a while back, I hope it helps anyone who may still be struggling.
对于那些不想安装 HTC bloatware 的人,我从包中提取了 USB 驱动程序并将其托管在我的网站上,我希望它可以帮助任何可能仍在苦苦挣扎的人。
回答by user_CC
To reduce one confusion.
减少一种混乱。
As mentioned above in the answers For Windows 7 64-bit I used the following link: http://androiddrivers.net/htc-android-drivers/download-htc-one-x-64-bit-windows-drivers/
如上所述,对于 Windows 7 64 位,我使用了以下链接:http: //androiddrivers.net/htc-android-drivers/download-htc-one-x-64-bit-windows-drivers/
Though when you extract the files the driver is contained within Vista_x64 folder. This is confusing but it installs perfectly fine under Windows 7. I can now easily debug my application on HTC-One X.
虽然当您提取文件时,驱动程序包含在 Vista_x64 文件夹中。这令人困惑,但它在 Windows 7 下安装得很好。我现在可以轻松地在 HTC-One X 上调试我的应用程序。
Steps for installing the driver: 1. Right Click on Computer -> Properties 2. Click Device Manager in the Left hand pane 3. Find your HTC Device under USB Devices or Android USB Devices. 4. Right Click -> Update Driver 5. Locate the extracted directory containing the driver i.e "HTC_Driver_64\HTCDriver\Driver Files\Vista_x64" 6. Click Next and install the driver.
安装驱动程序的步骤: 1. 右键单击计算机 -> 属性 2. 单击左侧窗格中的设备管理器 3. 在 USB 设备或 Android USB 设备下找到您的 HTC 设备。4. 右键单击 -> 更新驱动程序 5. 找到包含驱动程序的解压目录,即“HTC_Driver_64\HTCDriver\Driver Files\Vista_x64” 6. 单击下一步并安装驱动程序。
回答by user_CC
Though when you extract the files the driver is contained within Vista_x64 folder. This is confusing but it installs perfectly fine under Windows 7. I can now easily debug my application on HTC-One X.
虽然当您提取文件时,驱动程序包含在 Vista_x64 文件夹中。这令人困惑,但它在 Windows 7 下安装得很好。我现在可以轻松地在 HTC-One X 上调试我的应用程序。
回答by anar
I couldn't find the driver-only for download anywhere. I connected the device and it asked to install the HTC Sync Manager, which installed the driver. But, the Sync Manager was conflicting with ADB - it kept shutting it down for some reason. So, I uninstalled the sync manager. That left the drivers in place. After re-connecting the device, adb worked.
我在任何地方都找不到仅供下载的驱动程序。我连接了设备,它要求安装 HTC 同步管理器,它安装了驱动程序。但是,同步管理器与 ADB 发生冲突 - 它出于某种原因一直将其关闭。所以,我卸载了同步管理器。这让司机们就位。重新连接设备后,adb 工作。
回答by zuhaib
the people who are facing the problem in connecting their htc phone with eclipse. they must install HTC-SYNC from the htc site. htc sync also include the usb debugging driver in it.
在将 HTC 手机与 eclipse 连接时遇到问题的人。他们必须从 htc 站点安装 HTC-SYNC。htc sync 中还包含 USB 调试驱动程序。
Here's the link: http://www.htc.com/au/support/content.aspx?id=6196