无法在 Windows 7 上安装 Android USB 驱动程序
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/20771892/
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
Unable to install the Android USB driver on Windows 7
提问by VoidCatz
So I want to use my new Nexus 5 for debugging my apps.
I tried to install the Android USB driver via the device manager
But my nexus is listed as portable device and uses the default windows driver.
How can I replace the windows MTP-USB driver
with the android driver?
When I click update driver software und select "\sdk\extras\google\usb_driver"
, it tells me that the driver software is up-to-date.
所以我想用我的新 Nexus 5 来调试我的应用程序。
我尝试通过设备管理器安装 Android USB 驱动程序
但我的 nexus 被列为便携式设备并使用默认的 Windows 驱动程序。
如何MTP-USB driver
用android驱动程序替换windows ?
当我单击更新驱动程序软件并选择时"\sdk\extras\google\usb_driver"
,它告诉我驱动程序软件是最新的。
Edit:
USB Debugging is already activated
Edit 2:
Sorry my fault there are actually two Nexus 5 in my Device Manager. The other one accepted the android driver.
编辑:
USB 调试已经激活
编辑 2:
对不起,我的错,我的设备管理器中实际上有两个 Nexus 5。另一个接受了android驱动程序。
回答by Noobay
First you'd want to make sure you device is in 'debug mode' or 'usb debugging' - set through development settings in your phone's 'system settings'
首先,您要确保您的设备处于“调试模式”或“USB 调试”-通过手机“系统设置”中的开发设置进行设置
then run adb devices
from your adt-bundle folder/platform-tools to see if it got your device.
然后adb devices
从您的 adt-bundle 文件夹/平台工具运行,看看它是否有您的设备。
Edit: if it doesn't work try, from your 'drivers' tab- Update Driver -> Browse for driver software on my computer -> Let me pick from a list of device drivers from my computer -> Have Disk -> Navigate to your usb_driver folder
编辑:如果它不起作用,请尝试从您的“驱动程序”选项卡-更新驱动程序-> 浏览计算机上的驱动程序软件-> 让我从计算机的设备驱动程序列表中选择-> 从磁盘安装-> 导航到你的 usb_driver 文件夹
Notice the extra step near the end, you don't submit the folder in the "Browse for driver software on my computer" tab
请注意接近末尾的额外步骤,您不要在“浏览我的计算机上的驱动程序软件”选项卡中提交文件夹
回答by Neeraj
download this usb driver: http://dlcdnet.asus.com/pub/ASUS/EeePAD/nexus7/usb_driver_r06_windows.zip
go to the device manager , right click the nexus device and choose properties, choose "hardware" and then choose update your driver , choose manualy and pick the folder you opend the zip file to and press apply.
open your setting in nexus . go to : "about the device" , at to the bottom of the page and press it strong text7 times .
open the developers menu and enable debug with usb.
finally press storage from the setting menu and click the menu that apears at the top left corner. press the connect usb to the computer, choose the second option (PTP).
下载此 USB 驱动程序:http: //dlcdnet.asus.com/pub/ASUS/EeePAD/nexus7/usb_driver_r06_windows.zip
转到设备管理器,右键单击 nexus 设备并选择属性,选择“硬件”,然后选择更新您的驱动程序,选择手动并选择您打开 zip 文件的文件夹,然后按应用。
在 nexus 中打开您的设置。转到:“关于设备”,在页面底部并按强文本 7 次。
打开开发人员菜单并启用 USB 调试。
最后从设置菜单中按存储,然后单击左上角出现的菜单。按连接usb到电脑,选择第二个选项(PTP)。
that should do the trick.
这应该够了吧。
回答by JenniferG
The way I got the drivers installed for my nexus 5 was by following these instructions but I had to turn off my phone and do the steps below but for following the first set of instructions for the link below:Nexus 5 Driver installation instructions
我为我的 nexus 5 安装驱动程序的方式是按照这些说明操作,但我必须关闭手机并执行以下步骤,但要遵循以下链接的第一组说明:Nexus 5 驱动程序安装说明
power off your phone. press and hold Volume Down and Power buttons simultaneously - an Android robot will show up and the Fastboot Mode text is listed. connect the Nexus 5 to your PC via USB Cable.
关闭手机。同时按住降低音量和电源按钮 - 将显示一个 Android 机器人并列出 Fastboot 模式文本。通过 USB 电缆将 Nexus 5 连接到您的 PC。
After doing this the drivers installed but had a yell warning sign. However I was still able to get it to take commands and for it to be seen by the ADB devices command. I currently am using windows 7, and I have the adb setup in my environment variables so I can run commands from the command line.
执行此操作后,驱动程序已安装,但有一个大喊警告标志。但是我仍然能够让它接受命令并让它被 ADB devices 命令看到。我目前使用的是 Windows 7,并且我的环境变量中有 adb 设置,因此我可以从命令行运行命令。
In the command line before you call the adb devices, make sure you navigate to the android platform tools folder '\Android\android-studio\sdk\platform-toolsthen from here call the adb devices and you will know for sure if your device is being detected!
在调用 adb 设备之前的命令行中,确保导航到 android 平台工具文件夹 '\Android\android-studio\sdk\platform-tools然后从这里调用 adb 设备,您将确定您的设备是否正在被检测!
回答by Camilo Martinez
Just to highlight the key step that solved the problem for me using a Nexus 5.
只是为了强调使用 Nexus 5 为我解决问题的关键步骤。
Follow the steps by Neeraj, just replacing the first one by the drivers in http://developer.android.com/sdk/win-usb.html
按照 Neeraj 的步骤操作,只需用http://developer.android.com/sdk/win-usb.html 中的驱动程序替换第一个
Key point is to make sure you change the usb connection to use PTP and try to install the driver from the Nexus 5 under other devices.
关键是确保您将 USB 连接更改为使用 PTP,并尝试在其他设备下安装来自 Nexus 5 的驱动程序。
That solved the issue for me.
那为我解决了这个问题。
回答by Mada
Another related issue:
另一个相关问题:
Every time you connect a device through USB 3.0, Windows 7 automatically installs its own drivers that can't be updated. Removing them does nothing, as they will just be immediately installed again upon reconnection.
每次通过 USB 3.0 连接设备时,Windows 7 都会自动安装无法更新的驱动程序。删除它们没有任何作用,因为它们会在重新连接时立即再次安装。
To get get around this, you need just need to use a USB 2.0 slot.
要解决这个问题,您只需要使用 USB 2.0 插槽即可。
回答by Guillermo Serrano Fuel
To allow usb debugging for an lg f60 d390 in Android Studio I had to install LG PC Suit.
为了允许在 Android Studio 中对 lg f60 d390 进行 USB 调试,我必须安装 LG PC Suit。
回答by Meiyappan Kannappa
I had same issue, Uninstall the existing driver. Then your device will be listed under Android Device -> Composite ADB interface in device manager. You then can follow steps to update the Google - USB driver.
我有同样的问题,卸载现有的驱动程序。然后您的设备将在设备管理器中的 Android 设备 -> 复合 ADB 界面下列出。然后您可以按照步骤更新 Google - USB 驱动程序。
回答by sinisterrook
This answer worked for me.
这个答案对我有用。
Switch the USB port you use.
切换您使用的 USB 端口。
For whatever reason once I did this Windows recognized my device.
无论出于何种原因,一旦我这样做,Windows 就会识别我的设备。