Google Glass is not listed as Android Device by ADB

Alexey Strakh picture Alexey Strakh · Dec 7, 2013 · Viewed 18k times · Source

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:

  • USB\VID_18D1&PID_9001&REV_0216
  • USB\VID_18D1&PID_9001

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?

Answer

ianhanniballake picture ianhanniballake · Dec 7, 2013

You must also enable debug mode on your Glass by going to

  1. Scroll to and select the settings card.
  2. Scroll to and select the “Device Info” card.
  3. Scroll over one to “Turn on debug” and press on it.
  4. Wait a moment and debugging is turned on!

As per this guide.