After upgrading to version 0.27 I get this error when trying to build and run my project:
Gradle: A problem occurred evaluating root project 'BeerPortfolioPro'.
> Gradle version 1.6 is required. Current version is 1.8-20130730220035+0000
My gradle file begins with this:
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.5.+'
}
}
I tried changing it to 1.6 and 1.8 and neither fixed the problem.
I guess you have wrong version of Gradle. Try to downgrade Gradle and check if Gradle 1.6 is set in Android Studio preferences.
尝试将其更改为:
com.android.tools.build:gradle:0.6.+
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.