how to upload to your code to Google Glass?

后端 未结 3 1121
遥遥无期
遥遥无期 2021-01-28 17:56

I\'m in the process of learning android and the GDK, I have \"Android developer tools\" installed along with \"SDK Manager\".

I made my first hello world app, but I don\

3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-28 18:05

    In my case, my andriod_winusb.inf already had some values under the ;Google Glass line. That made the Google Glass device appear in the device manager, but as an "Android ADB Interface" instead of an "Android Composite ADB Interface". Any changes to the andriod_winusb.inf didn't make any difference.

    What worked for me was to click on the Andoid ADB Interface in the Device Manager. Click uninstall, and (very important) check the check box that says : "Delete the driver software for this device".

    Then I modified the andriod_winusb.inf file, by adding

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

    Then back in the Device manager I clicked on Glass 1 in the Device manager, and updated the driver.

    I'm guessing that once Windows knows about a driver, it caches it somewhere, so uninstalling it and reinstalling ,without "deleting the driver software" just brings the cached driver back, and completely disregards the changes in the original driver folder.

提交回复
热议问题