无法连接到Windows 7上的Google Glass(使用ADT) [英] Unable to connect to Google Glass on Windows 7 (using ADT)

查看:88
本文介绍了无法连接到Windows 7上的Google Glass(使用ADT)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

环境:
操作系统:Windows 7 Ultimate 64位SP1(最新补丁)
硬件:Dell XPS L702X(8GB Ram)
Android开发者工具(ADT):版本adt-bundle-windows-x86_64-20131030
Google USB驱动程序:版本9
Google Glass :运行XE12的"v2"设备

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

情况 :在Google Glass上启用了调试模式;连接到计算机上的USB端口;没有看到任何设备(ADT无法找到杯子).

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

android_winusb信息已经包含Glass的以下设置:在NTx86部分:

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

在NTamd64部分

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

更新:当我打开设备管理器时,我确实在便携式设备"部分和其他设备"会话中看到了"Glass 1"设备.但是,当我打开ADT时,无法识别Google Glass设备(即使当我连接HTC One Kit Kat 4设备时,也可以识别它,并且可以将应用程序加载到该Android手机上.)

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).

有关如何解决的建议?

推荐答案

最终能够与Google Glass连接!这是我在有问题的环境中使用的步骤:

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

  1. 已为64位Windows安装了ADT捆绑包;全部更新(花了一个以上的周期)
  2. 使用Android SDK Manager加载API 19(Kit Kat)和API 15,以及Google Glass Sneak Peak,并确保当前的USB驱动程序已更新(在撰写本文时为版本9)
  3. 在ADT中,添加了MyFirstApp(用于Android手机)并部署到HTC One/Sprint(运行Kit Kat)设备中(可选,以确保ADT可以识别某些内容)
  4. ADT停止
  5. 打开设备管理器
  6. 已连接的Google Glass,在便携式设备其他设备部分中都标有"Glass 1"
  7. 在其他设备"部分(不是便携式设备"部分)中选择玻璃1",然后运行更新驱动程序命令,指向xxx \ GoogleGlass \ adt-bundle \ sdk \ extras文件夹进行搜索.
  8. 驱动程序更新完成后,将设备移至" Android设备"部分,并注意到该设备是Android Composite ADB接口
  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

完成后,我可以获取一个示例应用程序(我使用Compass)并将其作为Android应用程序运行!

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.)

这篇关于无法连接到Windows 7上的Google Glass(使用ADT)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆