Google Glass Android Studio Gradle issues

十年热恋 提交于 2019-12-05 21:44:01

This issue seems to be resolved in Android Studio 0.5.5, so if you update via "Help->Check for Update..." it should work.

A workaround, if you still have problems:

  1. Open up the "Terminal" window
  2. Run gradlew installDebug each time you want to install the app (press "up" to recall the last command)

I had this issue with Android Studio 0.5.4, but on only one of two machines.

I started a Glass app in Android Studio on one machine and Android Studio built the app without any problems, and when I cloned the exact same project from Github on another machine Android Studio gave me the same error you're seeing - Error:Module 'onebusaway-android': platform 'Google Inc.:Glass Development Kit Sneak Peek:15' not found. But, gradle from the command line still works fine.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!