Search code examples
google-glassgoogle-gdk

Unable to connect to Google Glass on Windows 7 (using ADT)


Environment:
OS: Windows 7 Ultimate 64-bit, SP1 (latest patches)
Hardware: Dell XPS L702X (8GB Ram)
Android Developers Tool (ADT): version adt-bundle-windows-x86_64-20131030
Google USB driver: version 9
Google Glass: "v2" device running XE12

Situation: Debug mode enabled on Google Glass; connected to USB port on computer; no device seen (ADT cannot find glass).

The android_winusb information already contains the following settings for Glass: in NTx86 section:

;Google Glass
%SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_9001
%CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_9001&MI_01

in NTamd64 section

;Google Glass
%SingleAdbInterface%        = USB_Install, USB\VID_18D1&PID_9001
%CompositeAdbInterface%     = USB_Install, USB\VID_18D1&PID_9001&MI_01

Update: When I open the device manager, I DO see the "Glass 1" device in the "Portable Devices" section and in "Other devices" session. However, when I open the ADT the Google Glass device is not recognized (even though when I connect my HTC One Kit Kat 4 device shows up, is recognized and I can load an application onto that Android phone).

Suggestions on how to resolve?


Solution

  • Finally able to connect with Google Glass! Here are the steps that I used for the environment in question:

    1. Installed ADT bundle for 64-bit Windows; updated all (took more than one cycle)
    2. Used Android SDK Manager to load API 19 (Kit Kat) and API 15, along with Google Glass Sneak Peak, and ensured current USB driver was updated (to version 9 at this writing)
    3. In ADT, added MyFirstApp (for Android phone) and deployed to HTC One/Sprint (running Kit Kat) device [optional, just to ensure that ADT can recognize something]
    4. Stopped ADT
    5. Opened Device Manager
    6. Connected Google Glass, noted "Glass 1" in BOTH the Portable device and the Other device sections
    7. Selected "Glass 1" in the Other device section (not the Portable device section) and ran update driver command pointing to the xxx\GoogleGlass\adt-bundle\sdk\extras folder to search.
    8. Completion of driver update moved the device to "Android devices" section, noting it is an Android Composite ADB Interface

    Once this had completed, I could take a sample application (I used Compass) and ran it as an Android Application!

    (Since my device has an automaatic lock -- I assume -- I had to power cycle the device once to be able to get it to respond.)