本文介绍了DDMS无法看到Google Glass的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试让Eclipse和DDMS查看我的Google Glass设备。我已按照此处的说明进行操作:

I am trying to get Eclipse and DDMS to see my Google Glass device. I have followed the instructions found here:

但是DDMS设备列表仍然为空不管我做什么。我尝试了多个USB端口和不同的电缆。设备管理器可以看到Glass设备,但DDMS无法看到。 DDMS可以看到仿真器。

However the DDMS device list is still empty no matter what I do. I have tried multiple USB ports and different cables. The Device Manager can see the Glass device but the DDMS doesn't. The DDMS can see emulators however.

在进行了一些挖掘之后,您似乎需要确保已为实际设备和仿真器安装了驱动程序。但是,我找不到有关如何使用Google Glass进行操作的任何说明。我尝试安装通用的Google USB驱动程序,但是不会为Glass设备安装。我正在Windows 8.1上运行所有这些程序,尽管我似乎找不到任何可以改变的地方。我想知道是否有人遇到这个问题或可以提供任何建议。

After doing a little digging it seems that you need to make sure that a driver is installed for actual devices vs emulators. However I can't find any instructions on how to do that with Google Glass. I tried installed the generic Google USB driver however that wouldn't install for the Glass device. I am running all of this on Windows 8.1, though I can't seem to find anything where that would make a difference. I am wondering if anyone else has had this problem or can offer any advise.

推荐答案

第一-禁用Windows 8的驱动程序签名强制实施。教程/说明(如果您还不知道的话)。

First - Disable driver signature enforcement for Windows 8. Google for a buffet of how-to tutorials/instructions, if you don't already know.

第二-更新android_winusb.inf文件@

Second - Update android_winusb.inf file @

示例: C:\Development\adt-bundle-windows-x86_64-20131030\sdk\extras\google\usb_driver

Example: C:\Development\adt-bundle-windows-x86_64-20131030\sdk\extras\google\usb_driver

[Google.NTamd64]

;GoogleGlass
%SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_4E11&REV_0216
%CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_4E11&MI_01
%SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_9001&REV_0216
%CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_9001&MI_01

[Google.NTx86]

;GoogleGlass
%SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_4E11&REV_0216
%CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_4E11&MI_01
%SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_9001&REV_0216
%CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_9001&MI_01

一旦inf文件被编辑,请进入Windows设备管理器,右键单击Glass Device,选择更新驱动程序软件。出现提示时,选择从计算机中选择,然后输入您的android_winusb.inf父文件夹位置。

Once inf file is edited, go into your Windows Device Manager, right click on the Glass Device, select Update Driver Software. When prompted, choose "Select From Computer" and enter your android_winusb.inf parent folder location.

注意::在驱动程序更新期间,您可能会收到未签名的驾驶员警告;您必须继续使用未签名的驱动程序。

NOTE: During Driver Update you may receive an unsigned driver warning; you must proceed with the unsigned driver to succeed.

打开Eclipse。如果您没有立即在DDMS透视图中看到Glass设备,请以Android应用程序的形式运行您的应用程序/示例,并且该设备应该在Android Device Chooser对话框中作为可选选项可用(Provided Glass在调试打开并插入的情况下运行进入机器)。

Open eclipse. If you don't see the Glass device in DDMS perspective right off, run your application/sample as an Android Application and the device should be available as an selectable option during an Android Device Chooser dialog (Provided Glass is running with debug on and plugged into the machine).

这篇关于DDMS无法看到Google Glass的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-10 18:42