1.打开电脑的管理-设备管理器,用USB链接android设备(android设备要打开USB调试),应该可以看到带黄色问号的USB设备。
2.在设备上右键查看属性-详细信息,在属性中选择硬件ID,此时可以看到硬件ID,例如:

USB\VID_2207&PID_0010&REV_0222&MI_01USB\VID_2207&PID_0010&MI_01


3.打开sdk\extras\google\usb_driver\android_winusb.inf,找到“Google Nexus Q”的信息:

;Google Nexus Q%SingleBootLoaderInterface% = USB_Install, USB\VID_18D1&PID_2C10%SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_2C11


复制一份,并修改如下:

;android%SingleBootLoaderInterface% = USB_Install, USB\VID_2207&PID_0010%SingleAdbInterface%        = USB_Install, USB\VID_2207&PID_0010&MI_01

注意:驱动分为32位和64位,需要在[Google.NTx86]和[Google.NTamd64]段,都添加一份,内容一样。

更多相关文章

  1. Android学习-RelativeLayout相对布局属性方法
  2. RelativeLayout常用布局属性
  3. android EditText imeOptions属性和各属性setOnEditorActionList
  4. Android开发:Android设备传感器开发总结
  5. Android 使用android:inputType属性,从EditText中输入获取数字

随机推荐

  1. Android单例关闭应用程序
  2. Android(安卓)内存信息查看
  3. Android(安卓)Menu
  4. 安卓开发之详解getChildFragmentManager
  5. Android:LaunchMode使用场景
  6. MapView的apiKey
  7. android通过反射获取wifi热点ap的ssid和p
  8. Selector的用法
  9. 秒懂Android开发之MotionLayout简单上手
  10. android学习笔记22:可展开的ListView