Error with Android Gradle plugin 0.13 and android-apt 1.3

后端 未结 1 1698
别那么骄傲
别那么骄傲 2021-01-12 10:58

I\'ve just updated my android gradle plugin from 0.12 to 0.13. Moreover I\'ve downloaded gradle 2.1. Then, I tried with android studio 0.8.9 in beta but according http://too

相关标签:
1条回答
  • 2021-01-12 11:09

    android-apt 1.3 doesn't seem to be compatible with v0.13 of the Android Gradle plugin. Please use android-apt 1.4 instead:

    buildscript {
        repositories {
            jcenter()
        }
        dependencies {
            classpath 'com.android.tools.build:gradle:0.13.0'
            classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4'
    
            // NOTE: Do not place your application dependencies here; they belong
            // in the individual module build.gradle files
        }
    }
    
    0 讨论(0)
提交回复
热议问题