简体   繁体   English

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

[英]Installing USB driver for Nexus 4 (with KitKat) on Windows 8 64-bit - “no compatible software driver”

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. 我正在拼命尝试为我的Nexus 4安装ADB USB驱动程序,这对于任何形式的Android开发都是必需的(正如您所知)。 You could also say, that they are the single most necessary tool used for Android programming, right? 你也可以说,它们是用于Android编程的最必要的工具,对吗? 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. 我已经经常为我的旧HTC Desire建立一个Android开发环境,但我没有为我的Nexus 4设置它。

The way I go about it: 我的方式:

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

I really do not know what the problem is. 我真的不知道问题是什么。 Some things I already tried include: 我已经尝试过的一些事情包括:

  • Doing everything on USB3/USB2 Port 在USB3 / USB2端口上执行所有操作
  • Changing Computer Connection Mode to PTP (instead of MTP) 将计算机连接模式更改为PTP(而不是MTP)
  • Doing everything on Win8/Win8.1 Preview 在Win8 / Win8.1预览中做一切
  • I tried to install the universal ADB Driver: download.clockworkmod.com/test/UniversalAdbDriverSetup6.msi without any significant result 我尝试安装通用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相对较新,但是,有没有人有解决方案呢?

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 Settings App 打开设置应用
  • Navigate to About Phone 导航到“ 关于手机”
  • click Build number seven times to active the Developer Mode - Settings main screen->Developer options->enable "USB debugging" 单击Build number七次以激活Developer Mode - Settings主屏幕 - > Developer options-> enable“USB debugging”

In my defense: It doesn't say anywhere, that this is a prequisite for Android development. 在我的辩护中:它没有说任何地方,这是Android开发的先决条件。 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" 我知道这个选项,但自从上次我在设备上设置此选项是多年前以来,我只是觉得“好吧......我不想调试,所以这个选项无关紧要”

So, first of all - sorry for my English. 所以,首先 - 抱歉我的英语。

If you have a Windows 7 - just update your Windows Media Player. 如果您有Windows 7 - 只需更新您的Windows Media Player。 If you install Google USB Driver - remove it before updating WMP! 如果您安装Google USB驱动程序 - 在更新WMP之前将其删除!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM