Upon receiving my new Google Glass, one of the first things I did was connect it to my computer so I could begin writing apps for it. However, I ran into a few snags that prevented me from deploying my apps to my Glass. So, since I worked my way thru that process and took a few notes along the way, I thought I’d write this article to help the rest of you that might be running into the same issues I did. By the end of this article, you should be able to connect your Google Glass to your computer using the USB cable that was provided in the Google Glass shipping package and be able to access your Glass from the ADT Eclipse environment for running and debugging. If you are still not able to connect your Glass to your computer by the end of this article, please let me know in the comments below and I’ll try my best to assist you any way I can. So, let’s begin.
When I first connected Glass to my computer, Windows went thru the driver installation process and said that everything completed successfully. However, that was not true. When I went to Device Manager, Glass appeared under one of the items that didn’t really make sense (don’t remember which). I had to expand every item in the list until I found Glass. Even then, it didn’t show up as “Glass” or anything similar. Instead, it showed up as a “Nexus” device. I knew this was my Glass by disconnecting the USB cable and watching the “Nexus” device disappear and reappear when I plugged the USB cable back into the computer. I also tried connecting my Glass to a second computer just to see what it would show up as on it. On the second computer, it showed up as “Glass 1” under the “Other” item. Weird.
On the computer where I wanted to do my Glass development, Glass would appear in Windows Explorer, but wouldn’t do anything when I clicked on it. On my second computer, I could at least view the “DCIM” and “Pictures” folders on the device. Anyways, after doing some digging around on the internet (Googling 🙂 ), I came across a link to download the drivers for Windows 7. Unfortunately I can’t remember where I found the link and forgot to make a note of it. However, I have uploaded the ZIP containing the drivers and have provided a link to the download at the end of this article.
Once you have downloaded and unzipped the drivers, go to Control Panel > Device Manager and locate whatever item your Glass is showing up as. Right-click on the item and select “Properties”. Click on the “Driver” tab at the top and click the “Update Driver…” button.
On the next window, click “Browse my computer for driver software, Locate and install driver software manually”. On the next screen, click the “Browse…” button (make sure “Include subfolders” is checked just in case. Navigate out to the location where you unzipped the drivers and click the “OK” button. Windows should be able to locate and install the drivers for you. Once the drivers have been installed, you should see an item for “Glass 1” under “Portable Devices” in Device Manager. If you have named your Glass something other than “Glass 1” (the default), you should see that name show up under “Portable Devices” in Device Manager instead.
At this point you should now be able to communicate with your Glass from ADT (Android Developer Tools) and the Android SDK Manager. However, it is worth noting that I went thru these same steps on a different computer running a different version of Windows 7 (Pro instead of Ultimate) and the drivers in the download below didn’t work. In order to get Glass to work on that computer, I had to install the “Google USB Driver” using the Android SDK Manager. In tomorrow’s article, I will show you how to install the Android SDK Manager and will post a link to it from here after I write that article. When I get to the part about installing the SDK Platform and Glass Development Kit Sneak Peek packages from the Android SDK Manager, you will also need to install the “Google USB Driver” which can be found under the “Extras” folder.
Download: latest_usb_driver_windows.zip (8.6MB)
PayPal will open in a new tab.