DDMS unable to see Google Glass

試著忘記壹切 提交于 2019-11-27 14:09:43

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

Second - Update android_winusb.inf file @

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

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.

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).

matthew06854's solution works well! Thanks. Just one thing, after connecting glass to the computer, one needs to confirm on the glass to allow this connection (trusted computer, or something like it).

Welcome.

2 things to check -

Ensure driver signature enforcement is disabled; repeat disabling process.

Ensure the Google Glass .inf file entries for [Google.NTamd64] and [Google.NTx86] are listed under the existing [Google.NTamd64] [Google.NTx86] entries.

The Hash file not present message is usually an indicator the driver signature enforcement is not off yet. E.G. If you alter/remove the .inf entries, then try updating the driver again, you will get a different message - something like cannot find driver (if you removed the entries) I believe.

It is necessary to check that VID and PID matches what you see in Control Panel/System/Device Manager/Portable Devices/Glass 1/Properties/Details/Hardware Ids. I only got USB\VID_18D1&PID_9001&REV_0216 and USB\VID_18D1&PID_9001, so I changed the file \adt-bundle-windows-x86_64-20131030\sdk\extras\google\usb_driver to reflect this:

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

Since I had already installed first version og the driver I had to remove driver before I could install with new settings. Now it works for me also :)

Easy way Download these custmized drivers from http://www.androidfilehost.com/?fid=22979706399752791

Then go to device manager look for glass-right click-update divers-custom brows location and provide the path of above folder

This link really helped me http://appliedanalog.com/agw/?p=17

There's a missing step here ,that I figured out. In my case, my andriod_winusb.inf already had some values under the ;Google Glass line. That made the Google Glass device appear in the device manager, but as an "Android ADB Interface" instead of an "Android Composite ADB Interface". Any changes to the andriod_winusb.inf didn't make any difference.

What worked for me was to click on the Andid ADB Interface in the Device Manager. Click uninstall, and (very important) check the check box that says : "Delete the driver software for this device".

Then I modified the andriod_winusb.inf file, and clicked on Glass 1 in the Device manager, and updated the driver.

I'm guessing that once Windows knows about a driver, it caches it somewhere, so uninstalling it and reinstalling ,without "deleting the driver software" just brings the cached driver back, and completely disregards the changes in the original driver folder.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!