I'm trying to deploy a glassware .APK to a Google Glass device but it doesn't listed by ADB. I followed several guides which describe how to connect the Google Glass to the Windows 8 OS:
I did the following in order to connect the device to my PC.
1.Installed USB driver thought Android SDK Manager
2.Updated android_winusb.inf file and included required lines to identify the device: https://dl.dropboxusercontent.com/u/83972129/android_winusb.inf
these ids I found under the device "hardware id" setting:
3.Connected the device and forced to use the driver above
https://dl.dropboxusercontent.com/u/83972129/android_device.png
It's look almost as in the guide expect of the fact it was installed as "Android ADB Interface" not as "Android Composite ADB Interface"
4.Then I went to ADB tool and tried to list android devices:
https://dl.dropboxusercontent.com/u/83972129/android_adb.png
the Google Glass wasn't there and not adb service restart neither system restart helped.
5.As a result IDE couldn't see the device and it is impossible to deploy .APK
How can I debug the issue? What could be wrong here?
You must also enable debug mode on your Glass by going to
As per this guide .
Following these directions, I ran into the issue that my device was recognized, but was listed as "unauthorized" and attempting to run operations on it would get me "error: device unauthorized."
One last thing to verify, if all else fails.
Operations you try with adb should now succeed.
For those of you folks trying this in 2017 with Windows 10...
DESCRIPTION
Even with Glass debugging on, ADB does not show Glass in the list of devices. Upon plugging Glass in via USB, Glass will chime and Windows 10 will chime, but neither act like they are connected. Glass will not show up under This PC.
FIX
I spent several hours trying everything mentioned in the other answers, but nothing worked.
Turns out you can't use the Google USB Driver that you download with the Android Studio SDK Manager anymore.
After installing the driver, Windows 10 should notify you that Glass connected. It should show up under This PC now. Glass will ask you to allow the connected PC. After allowing, ADB will show it in the list of devices.
I'm recalling this all from memory, so names might not be 100% accurate. The important bit is that I had to select the Composite driver manually.
I've noticed that the Hardware ID of the Google Glass device occasionally flips with firmware updates. There's a way to manually update the driver INF file to accommodate the changes as they occur.
Determine Hardware ID (1 or more) for the Google Glass:
Make sure the driver INF file includes one or both Hardware Ids
Update the device driver with the "Have Disk" option and the modified INF file
NOTE on "most similar line":
Example:
Actual Mods (so far):
Below are the additions I've made to the "stock" ANDROID_WINUSB.INF as of April 2014. The lines are added to both the "NTx86" and "NTamd64" sections:
%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
%SingleAdbInterface% = USB_Install, USB\VID_18D1&PID_9001&REV_0216&MI_00
%CompositeAdbInterface% = USB_Install, USB\VID_18D1&PID_9001&MI_00
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.