Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Glass is not listed as Android Device by ADB

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:

  • glassdev
  • codeproject
  • stackoverflow

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?

like image 218
Alexey Strakh Avatar asked Dec 07 '13 00:12

Alexey Strakh


2 Answers

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.

like image 64
ianhanniballake Avatar answered Oct 19 '22 17:10

ianhanniballake


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.

  1. Make sure Debug is on in the Glass settings, then hook Glass up to your PC.
  2. Go to Device Manager. Glass will show up as LeMobile Android Device > Android ADB Interface (or something like that).
  3. Right-click it, choose Update Driver Software.
  4. Then select Browse my computer for driver software > Let me pick from a list...
  5. Choose the Android Composite ADB Interface (or something like that; whichever one is the Composite option) and click OK.

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.

like image 41
Murkaeus Avatar answered Oct 19 '22 18:10

Murkaeus