Search code examples
gradleandroid-studioapkgoogle-glassgoogle-gdk

Update Android Studio Gradle plugin for new GDK release


I wrote some cool Glassware with the first GDK release, but the application was broken by subsequent XE and over-the-air releases.

I updated the broken methods with new ones, but they are undefined.

How do I fix this?


Solution

  • Here are the steps that fixed the problem!

    1. Go to Android SDK manager and get the latest GDK version under
      • Android 4.0.3 (this might change in the future, so scan or search)
      • GDK Sneak Peak
      • Install
      • Accept
    2. Make sure Android Studio is up to date
    3. Check gradle plug-in version .8->.9 (may be optional, brittle)
    4. Fix the red squiggles (could be updating broken methods, for example)