Android ADB 驱动程序和 Windows 8.1

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/21972658/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-20 05:23:07  来源:igfitidea点击:

ADB Driver and Windows 8.1

androidwindowsdriveradbwindows-8.1

提问by IvanRF

I waste a lot of time trying to successfully install the ADB driver for my tablet in Windows 8.1. So here I will post what I did, in case anyone has the same problem.

我浪费了很多时间尝试在 Windows 8.1 中为我的平板电脑成功安装 ADB 驱动程序。所以在这里我会发布我所做的,以防万一有人遇到同样的问题。

回答by IvanRF

UPDATE:Post with images ? English Version| Versión en Espa?ol

更新:发布图片?英文版| 西班牙语版本



If Windows fails to enumerate the device which is reported in Device Manager as error code 43:

如果 Windows 无法枚举设备管理器中报告为错误代码 43 的设备

  • Install this Compatibility updatefrom Windows.
  • If you already have this update but you get this error, restart your PC (unfortunately, it happened to me, I tried everything until I thought what if I restart...).
  • 从 Windows安装此兼容性更新
  • 如果您已经有此更新但出现此错误,请重新启动您的 PC(不幸的是,它发生在我身上,我尝试了所有方法,直到我想到如果我重新启动...)。

If the device is listed in Device Manager as Other devices -> Android but reports an error code 28:

如果设备在设备管理器中列为其他设备 -> Android 但报告错误代码 28

  • Google USB Driverdidn't work for me. You could try your corresponding OEM USB Drivers, but in my case my device is not listed there.
  • So, install the latest Samsung drivers: SAMSUNG USB Driver v1.7.23.0
  • Restart the computer (very important)
  • Go to Device Manager, find the Android device, and select Update Driver Software.
  • Select Browse my computer for driver software
  • Select Let me pick from a list of device drivers on my computer
  • Select ADB Interfacefrom the list
  • Select SAMSUNG Android ADB Interface(this is a signed driver). If you get a warning, select Yesto continue.
  • Done!
  • Google USB 驱动程序对我不起作用。您可以尝试相应的OEM USB 驱动程序,但就我而言,我的设备未在此处列出。
  • 所以,安装最新的三星驱动程序:SAMSUNG USB Driver v1.7.23.0
  • 重启电脑(很重要
  • 转到设备管理器,找到 Android 设备,然后选择更新驱动程序软件
  • 选择浏览我的计算机以查找驱动程序软件
  • 选择让我从计算机上的设备驱动程序列表中选择
  • 从列表中选择ADB 接口
  • 选择SAMSUNG Android ADB Interface(这是一个签名驱动程序)。如果收到警告,请选择继续。
  • 完毕!

By doing this I was able to use my tablet for development under Windows 8.1.

通过这样做,我能够使用我的平板电脑在 Windows 8.1 下进行开发。

Note:This solution uses Samsung drivers but works for other devices.

注意:此解决方案使用三星驱动程序,但适用于其他设备

Post with images => English Version| Versión en Espa?ol

发布图片 =>英文版| 西班牙语版本

回答by hotzen

Use the awesome "Universal ADB (Android Debug Bridge) Driver for Windows": https://plus.google.com/103583939320326217147/posts/BQ5iYJEaaEHhttps://github.com/koush/UniversalAdbDriver

使用很棒的“适用于 Windows 的通用 ADB(Android 调试桥)驱动程序”:https: //plus.google.com/103583939320326217147/posts/BQ5iYJEaaEH https://github.com/koush/UniversalAdbDriver

  • Windows 8 compatible
  • comes signed, so does not require you to turn off windows driver signature checks
  • 兼容 Windows 8
  • 带有签名,因此不需要您关闭 Windows 驱动程序签名检查

Tested under Win8.1.1 x64.

在 Win8.1.1 x64 下测试。

回答by Steve Ambler

There is lots of stuff on this topic, each slightly different. Like many users I spent hours trying them and got nowhere. In the end, this is what worked for me - I.e. installed the driver on windows 8.1

关于这个主题有很多东西,每个都略有不同。像许多用户一样,我花了几个小时尝试它们却一无所获。最后,这对我有用 - 即在 Windows 8.1 上安装了驱动程序

In my extras/google/usb_driver is a file android_winusb.inf

在我的 extras/google/usb_driver 是一个文件 android_winusb.inf

I double clicked on this and it "ran" and installed the driver.

我双击它,它“运行”并安装了驱动程序。

I can't explain why this worked.

我无法解释为什么这有效。

回答by Theodor Paulus

I had the following problem:
I had a Android phone without drivers, and it could not be recognized by the Windows 8.1. Neither as phone, neither as USB storage device.

我遇到了以下问题:
我有一部没有驱动程序的 Android 手机,Windows 8.1 无法识别它。既不是手机,也不是 USB 存储设备。

I searched Device manager.
I opened Device manager, I right click on Android Phone->Android Composite Interface.
I selected "Update Driver Software"
I choose "Browse My Computer for Driver Software"
Then I choose "Let me pick from a list of devices"
I selected "USB Composite Device"

我搜索了设备管理器。
我打开设备管理器,右键单击Android Phone->Android Composite Interface。
我选择了“更新驱动程序软件”
我选择“浏览我的电脑以查找驱动程序软件”
然后我选择“让我从设备列表中
选择”我选择“USB复合设备”

A new USB device is added to the list, and I can connect to my phone using adb and Android SDK.

一个新的 USB 设备被添加到列表中,我可以使用 adb 和 Android SDK 连接到我的手机。

Also I can use the phone as storage device.
Good luck

我也可以将手机用作存储设备。
祝你好运

回答by Asotos

The most complete answer I have found is here: http://blog.kikicode.com/2013/10/installing-android-adb-driver-in.html

我找到的最完整的答案在这里:http: //blog.kikicode.com/2013/10/installing-android-adb-driver-in.html

I'm copying the complete answer below.

我正在复制下面的完整答案。



Installing Android ADB driver in Windows 8.1 64-bit when all else fails

当所有其他方法都失败时,在 Windows 8.1 64 位中安装 Android ADB 驱动程序

For some reason I just couldn't get my machine to recognize Xperia J in Windows 8.1 64-bit. Even after installing latest Sony PC Companion (2.10.174). Device Manager kept showing yellow exclamation mark to an 'Android'.

出于某种原因,我无法让我的机器在 Windows 8.1 64 位中识别 Xperia J。即使安装了最新的 Sony PC Companion (2.10.174)。设备管理器一直向“Android”显示黄色感叹号。

Here's the solution, but I don't promise it will work on your device!

这是解决方案,但我不保证它会在您的设备上运行!

1. Find out your device's VID and PID

1. 找出您设备的 VID 和 PID

Open Device Manager, right-click that Android with yellow exclamation mark and click Properties. Go to Details tab. In Property, select Hardware Ids. Right-click the value and click Copy. Paste the value somewhere.

打开设备管理器,右键单击带有黄色感叹号的 Android,然后单击属性。转到详细信息选项卡。在属性中,选择硬件 ID。右键单击该值,然后单击复制。将值粘贴到某处。

2. Download Android USB Driver

2.下载安卓USB驱动

Run Android SDK Manager. Expand Extras, tick Google USB Driver, click Install packages. After installation, look for the driver location by hovering mouse over Google USB Driver. The location will appear in the tooltip.

运行 Android SDK 管理器。展开 Extras,勾选 Google USB Driver,点击安装包。安装后,将鼠标悬停在 Google USB 驱动程序上以查找驱动程序位置。该位置将出现在工具提示中。

3. Modify android_winusb.inf

3.修改android_winusb.inf

Go to the usb driver location, for example in the above picture it is c:\Android\android-studio\sdk\extras\google\usb_driver Make a backup copy of android_winusb.inf Open android_winusb.inf with a text editor. Notepad is fine but Notepad++ is better, it will syntax highlight the inf file! Look for [Google.NTx86], and insert a line with your device's hardware ID that you copied above, for example

进入usb驱动所在位置,例如上图中是c:\Android\android-studio\sdk\extras\google\usb_driver 备份android_winusb.inf 用文本编辑器打开android_winusb.inf。Notepad 很好,但 Notepad++ 更好,它会在语法上突出显示 inf 文件!查找 [Google.NTx86],然后插入一行包含您在上面复制的设备硬件 ID,例如

[Google.NTx86]

; ... other existing lines

;SONY Sony Xperia J
%CompositeAdbInterface% = USB_Install, USB\VID_0FCE&PID_6188&MI_01

Look for [Google.NTamd86], and insert the same lines, for example:

查找 [Google.NTamd86],并插入相同的行,例如:

[Google.NTamd64]

; ... other existing lines

;SONY Sony Xperia J
%CompositeAdbInterface% = USB_Install, USB\VID_0FCE&PID_6188&MI_01

Save the file.

保存文件。

4. Disable driver signing

4. 禁用驱动程序签名

Run Command Prompt as an administrator Paste and run the following commands:

以管理员身份运行命令提示符粘贴并运行以下命令:

bcdedit -set loadoptions DISABLE_INTEGRITY_CHECKS
bcdedit -set TESTSIGNING ON

Restart Windows.

重新启动 Windows。

5. Install driver

5.安装驱动

Open Device Manager, right-click that Android with yellow exclamation mark and click Update Driver Software. Click Browse my computer for driver software. Enter or browse to the folder containing android_winusb.inf, eg: C:\Android\android-studio\sdk\extras\google\usb_driver Click Next. The driver will install. Run adb devices to confirm your device is working fine.

打开设备管理器,右键单击带有黄色感叹号的 Android,然后单击更新驱动程序软件。单击浏览我的计算机以查找驱动程序软件。输入或浏览到包含 android_winusb.inf 的文件夹,例如:C:\Android\android-studio\sdk\extras\google\usb_driver 单击下一步。将安装驱动程序。运行 adb devices 以确认您的设备工作正常。

6. Re-enable driver signing

6. 重新启用驱动程序签名

Run Command Prompt as an administrator Paste and run the following commands:

以管理员身份运行命令提示符粘贴并运行以下命令:

bcdedit -set loadoptions ENABLE_INTEGRITY_CHECKS
bcdedit -set TESTSIGNING OFF

Restart Windows. Run adb devices to reconfirm!

重新启动 Windows。运行 adb devices 再次确认!

回答by karthikeayan

http://adbdriver.com/

http://adbdriver.com/

this worked for me, in my latest Micromax Yu Yuphoria! just download the installer and install it

这对我有用,在我最新的 Micromax Yu Yuphoria 中!只需下载安装程序并安装它

回答by Alex P.

If all other solutions did not work for your device try this guide how to make a truly universal adb and fastboot driverout of Google USB driver. The resulting driver works for adb, recoveryand fastbootmodes in all versions of Windows.

如果所有其他解决方案并没有为您的设备工作,试试这个指南如何做一个真正的通用亚行和FASTBOOT驱动器谷歌的USB驱动程序。生成的驱动程序工作的adbrecoveryfastboot在所有版本的Windows模式。

回答by Kiryl Ivanou

In Windows 7, 8 or 8.1, in Devices Manager:

在 Windows 7、8 或 8.1 中,在设备管理器中:

  1. Select tree 'Android Device': remove 'Android Composite ADB Interface' [х]
  2. Press on main root of devices tree and call context menu (by right mouse click) and click on 'Update configuration'
  3. After updating your device should appear in 'Other devices'
  4. Select your device, call context menu from it and choose 'Update driver' and perform this updating
  1. 选择树“Android 设备”:删除“Android 复合 ADB 接口”[х]
  2. 按设备树的主根并调用上下文菜单(通过鼠标右键单击),然后单击“更新配置”
  3. 更新后您的设备应出现在“其他设备”中
  4. 选择您的设备,从中调用上下文菜单并选择“更新驱动程序”并执行此更新