Android 在 Windows 8 64 位上为 Nexus 4(带有 KitKat)安装 USB 驱动程序-“没有兼容的软件驱动程序”

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

Installing USB driver for Nexus 4 (with KitKat) on Windows 8 64-bit - "no compatible software driver"

androidwindows-8windows-8.1android-4.4-kitkatnexus-4

提问by Wolf

I'm desperately trying to install ADB USB drivers for my Nexus 4, which (as you might know) are required for any form of Android Development. You could also say, that they are the single most necessary tool used for Android programming, right? I have already often set up an Android Development Environment for my old HTC Desire, but I am failing with setting it up for my Nexus 4.

我正在拼命地尝试为我的 Nexus 4 安装 ADB USB 驱动程序,这(您可能知道)是任何形式的 Android 开发所必需的。您也可以说,它们是用于 Android 编程的最必要的工具,对吗?我已经经常为我的旧 HTC Desire 设置一个 Android 开发环境,但是我没有为我的 Nexus 4 设置它。

The way I go about it:

我的处理方式:

  • Running Windows 8 and 8.1 Preview (tried everything on two different machines)
  • Downloading the Android Development Tools from Google (SDK+ADT+Eclipse+etc.)
  • Downloading the Google USB Drivers (v8) via Android SDK Manager
  • In the Device Manager i have an entry "Nexus 4" which I right-click and then I select "Update Driver Software..."
  • -> Browse my Computer for driver software -> Let me pick a list of device drivers on my computer -> Have Disk... -> Choose Path to Google Drivers -> Dialog occurs:
  • "The folder you specified doesn't contain a compatible software driver for your device. [...]"
  • 运行 Windows 8 和 8.1 Preview(在两台不同的机器上尝试了一切)
  • 从谷歌下载安卓开发工具(SDK+ADT+Eclipse+etc.)
  • 通过 Android SDK Manager 下载 Google USB Drivers (v8)
  • 在设备管理器中,我有一个条目“Nexus 4”,我右键单击它,然后选择“更新驱动程序软件...”
  • -> 浏览我的计算机以查找驱动程序软件 -> 让我选择我计算机上的设备驱动程序列表 -> 从磁盘安装... -> 选择 Google 驱动程序的路径 -> 出现对话框:
  • “您指定的文件夹不包含适用于您设备的兼容软件驱动程序。[...]”

I really do not know what the problem is. Some things I already tried include:

我真的不知道是什么问题。我已经尝试过的一些事情包括:

  • Doing everything on USB3/USB2 Port
  • Changing Computer Connection Mode to PTP (instead of MTP)
  • Doing everything on Win8/Win8.1 Preview
  • I tried to install the universal ADB Driver: download.clockworkmod.com/test/UniversalAdbDriverSetup6.msi without any significant result
  • 在 USB3/USB2 端口上做所有事情
  • 将计算机连接模式更改为 PTP(而不是 MTP)
  • 在 Win8/Win8.1 Preview 上做所有事情
  • 我尝试安装通用 ADB 驱动程序:download.clockworkmod.com/test/UniversalAdbDriverSetup6.msi 没有任何显着结果

I fear that the problem is because of the new driver version (v8) or KitKat, because I can't find any working solutions on the net and KitKat is relatively new, however, does anyone have a solution to this?

我担心问题是因为新的驱动程序版本 (v8) 或 KitKat,因为我在网上找不到任何可行的解决方案,而且 KitKat 相对较新,但是,有人有解决方案吗?

采纳答案by Wolf

Enable Debug-Mode on the device.

在设备上启用调试模式。

Steps to enable debug mode:

启用调试模式的步骤:

Before you do anything in order to develop on a Nexus 4 (at least in my experience), do the following:

在您为在 Nexus 4 上进行开发而做任何事情之前(至少以我的经验),请执行以下操作:

  • Open SettingsApp
  • Navigate to About Phone
  • click Build numberseven times to active the Developer Mode - Settings main screen->Developer options->enable "USB debugging"
  • 打开设置应用
  • 导航到关于电话
  • 单击版本七次以激活开发人员模式 - 设置主屏幕 - >开发人员选项 - >启用“USB调试”

In my defense: It doesn't say anywhere, that this is a prequisite for Android development. I knew of this option, but since the last time I set this option on a device is years ago, I just thought to myself "well... I do not want to debug, so this option is irrelevant"

在我的辩护中:它并没有在任何地方说,这是 Android 开发的先决条件。我知道这个选项,但自从我上次在设备上设置这个选项是几年前,我心里想“好吧……我不想调试,所以这个选项无关紧要”

回答by Azazavr

So, first of all - sorry for my English.

所以,首先 - 对不起我的英语。

If you have a Windows 7 - just update your Windows Media Player. If you install Google USB Driver - remove it before updating WMP!

如果您使用的是 Windows 7 - 只需更新您的 Windows Media Player。如果您安装了 Google USB 驱动程序 - 在更新 WMP 之前将其删除!