缺少 android_winusb.inf 文件;尝试为 Kindle Fire 开发人员设置环境
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/11919015/
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
Missing android_winusb.inf file; trying to setup environment for Kindle Fire dev
提问by fred basset
I'm following the instructions at http://mobile.tutsplus.com/tutorials/android/getting-started-with-kindle-fire-development/describing how to setup a dev. environment for the Kindle Fire. I'm stuck at the step "[Windows] Step 2: Using the Google USB Driver" however. The Android SDK app. indicates the Google USB driver is installed, but I don't have the file android_winusb.inf. How can I resolve this?
我正在按照http://mobile.tutsplus.com/tutorials/android/getting-started-with-kindle-fire-development/ 上的说明操作,描述如何设置开发人员。Kindle Fire 的环境。但是,我被困在“[Windows] 步骤 2:使用 Google USB 驱动程序”这一步。Android SDK 应用程序。表示已安装 Google USB 驱动程序,但我没有 android_winusb.inf 文件。我该如何解决这个问题?
回答by Bryan
For me, the android_winusb.inf file was not in the %USERPROFILE%.android directory. It was in a subfolder of the Android SDK directory, specifically:
对我来说,android_winusb.inf 文件不在 %USERPROFILE%.android 目录中。它位于 Android SDK 目录的子文件夹中,具体为:
C:\android\extras\google\usb_driver\android_winusb.inf
and
和
C:\android\usb_driver\android_winusb.inf
with my Android SDK installed in C:\android.
我的 Android SDK 安装在 C:\android 中。
I'm not sure why there are two, but it appeared the one in the extras folder was newer, looking at DriverVer inside the file.
我不确定为什么有两个,但看起来 extras 文件夹中的一个更新了,查看文件中的 DriverVer 。
回答by Crompy
I know this is an old thread but, I recently had to find this and found my android_winusb.inf file at: %USERPROFILE%\AppData\Local\Android\Sdk\extras\google\usb_driver
我知道这是一个旧线程,但是,我最近不得不找到它并在以下位置找到了我的 android_winusb.inf 文件: %USERPROFILE%\AppData\Local\Android\Sdk\extras\google\usb_driver
回答by Krylez
Make sure you can see hidden files/folders: http://www.howtogeek.com/howto/windows-vista/show-hidden-files-and-folders-in-windows-vista/
确保您可以看到隐藏的文件/文件夹:http: //www.howtogeek.com/howto/windows-vista/show-hidden-files-and-folders-in-windows-vista/
The ini file you're looking for is in the .android folder in you home directory. To find your home directory use this in the command line:
您要查找的 ini 文件位于主目录的 .android 文件夹中。要查找您的主目录,请在命令行中使用它:
echo %USERPROFILE%
Navigate to the location it displays and modify the file.
导航到它显示的位置并修改文件。
回答by Guiseppe Salvador
Go to SDK manager Select SDK Platform Tools Scroll down, select Google USB driver Install Hey Presto!
转到 SDK 管理器 选择 SDK 平台工具 向下滚动,选择 Google USB 驱动程序 安装 Hey Presto!