如何解决/安装/维修的Android USB设备驱动程序 [英] How to troubleshoot/install/repair Android usb device drivers
问题描述
我是一名开发人员,有三个电话,一个摩托罗拉Droid,三星的Galaxy和Nexus S,而我只能得到Droid手机上我目前的笔记本电脑工作。我听说PDANet能帮上忙,所以我安装的,事后他们没有工作。我尝试安装了三星Nexus S的驱动程序,我试过升级的SDK管理器中的驱动程序,但无论我怎么努力,我似乎无法得到其中的任何工作(当我键入命令ADB设备行他们不露面,也不是他们在我的IDE认可......我碰巧使用的IntelliJ,但我怀疑的Eclipse不会要么找到它)。
I'm a developer and have three phones, a Motorola Droid, a Samsung Galaxy, and Nexus S, and I could only get the Droid working on my current laptop. I heard that PDANet could help, so I installed that, and afterwards none of them worked. I tried installing the Samsung Nexus S driver, and I've tried upgrading the drivers in the SDK manager, but no matter what I try, I can't seem to get any of them working (when I type "adb devices" in command line they don't show up, neither are they recognized in my IDE... I happen to use IntelliJ, but I suspect Eclipse would not find it either).
有没有人对如何解决任何提示/安装/维修USB设备驱动程序? (比其他PDANet,因为我已经试过了)
Does anyone have any tips on how to troubleshoot/install/repair usb device drivers? (other than PDANet since I've already tried that)
推荐答案
我有这个问题我的HTC Desire连接到PC,并以此为ADB设备。继承人现在要做的是:
I had this problem to connect my HTC Desire to a PC and use it as ADB device. Heres now to do it:
- 使用Android SDK中的管理器安装谷歌的USB驱动程序(如果你还没有的话)
- 打开 Debuging 您的设备上
- 开启设备管理器并查找
其他设备/亚行
- 右键点击它,
属性
,打开详细信息
设置页,选择硬件ID
属性 - 然后你会看到这样的事情:
USB \\ VID_0BB4&放大器; PID_0C87&安培; MI_01
右键点击它,和复制
。在VID
部分将有供应商ID 一>在页面底部的表。 - 使用任何文本编辑器中打开
Android的SDK \\演员\\谷歌\\ usb_driver \\ android_winusb.inf
- 现在,找到
[Google.NTx86]
如果你有86 PC文件的一部分或[Google.NTamd64]
如果您有64位PC -
根据您的文件的一部分添加此并粘贴###复制硬件ID就地:
- Using Android SDK manager install Google USB driver (if you havent already)
- Turn on Debuging on your device
- Open Device manager and look for
Other Devices/ADB
- Right click on it,
Properties
, openDetails
tab, selectHardware Ids
property - Then you will see something like this:
USB\VID_0BB4&PID_0C87&MI_01
right click on it, andCopy
. TheVID
part will have the Vendor ID from the table at the bottom of the page. - Using any text editor open
android-sdk\extras\google\usb_driver\android_winusb.inf
- Now find
[Google.NTx86]
part of the file if you have x86 PC or[Google.NTamd64]
if you have x64 PC Under your part of the file add this and paste copied Hardware ID inplace of "###":
; Your phone name - can be anything
%CompositeAdbInterface% = USB_Install, ###
因此,它看起来像这样,例如适用于HTC Desire:
So it looks like this for example for HTC Desire:
; HTC Desire
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C87&MI_01
Android的SDK \\演员\\谷歌\\ usb_driver
文件夹 ADB设备
,你应该看到您的手机!
android-sdk\extras\google\usb_driver
folderadb devices
and you should see your phone!这篇关于如何解决/安装/维修的Android USB设备驱动程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!