我刚刚升级到android studio 1.0,并在这里得到这个错误,以使用新的Android Gradle:
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.0.0-rc4'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}我已经在gradle-wrapper中将其更改为正确的url
distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip并在app.gradle中进行设置
minifyEnabled false我需要将其更改为什么
classpath 'com.android.tools.build:gradle:1.0.0-rc4'谢谢
发布于 2014-12-13 08:33:42
将其更改为:
classpath 'com.android.tools.build:gradle:1.0.0'因为Gradle for Android 1.0现已推出。
https://stackoverflow.com/questions/27454223
复制相似问题