Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
376 views
in Technique[技术] by (71.8m points)

adb - DDMS unable to see Google Glass

I am trying to get Eclipse and DDMS to see my Google Glass device. I have followed the instructions found here:

https://developers.google.com/glass/develop/gdk/quick-start

However the DDMS device list is still empty no matter what I do. I have tried multiple USB ports and different cables. The Device Manager can see the Glass device but the DDMS doesn't. The DDMS can see emulators however.

After doing a little digging it seems that you need to make sure that a driver is installed for actual devices vs emulators. However I can't find any instructions on how to do that with Google Glass. I tried installed the generic Google USB driver however that wouldn't install for the Glass device. I am running all of this on Windows 8.1, though I can't seem to find anything where that would make a difference. I am wondering if anyone else has had this problem or can offer any advise.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

First - Disable driver signature enforcement for Windows 8. Google for a buffet of how-to tutorials/instructions, if you don't already know.

Second - Update android_winusb.inf file @

Example: C:Developmentadt-bundle-windows-x86_64-20131030sdkextrasgoogleusb_driver

[Google.NTamd64]

;GoogleGlass
%SingleAdbInterface%        = USB_Install, USBVID_18D1&PID_4E11&REV_0216
%CompositeAdbInterface%     = USB_Install, USBVID_18D1&PID_4E11&MI_01
%SingleAdbInterface%        = USB_Install, USBVID_18D1&PID_9001&REV_0216
%CompositeAdbInterface%     = USB_Install, USBVID_18D1&PID_9001&MI_01

[Google.NTx86]

;GoogleGlass
%SingleAdbInterface%        = USB_Install, USBVID_18D1&PID_4E11&REV_0216
%CompositeAdbInterface%     = USB_Install, USBVID_18D1&PID_4E11&MI_01
%SingleAdbInterface%        = USB_Install, USBVID_18D1&PID_9001&REV_0216
%CompositeAdbInterface%     = USB_Install, USBVID_18D1&PID_9001&MI_01

Once inf file is edited, go into your Windows Device Manager, right click on the Glass Device, select Update Driver Software. When prompted, choose "Select From Computer" and enter your android_winusb.inf parent folder location.

NOTE: During Driver Update you may receive an unsigned driver warning; you must proceed with the unsigned driver to succeed.

Open eclipse. If you don't see the Glass device in DDMS perspective right off, run your application/sample as an Android Application and the device should be available as an selectable option during an Android Device Chooser dialog (Provided Glass is running with debug on and plugged into the machine).


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...