You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gradle version 2.2 is required. Current version is 2.12. If using the gradle wrapper, try editing the distributionUrl in D:\workspace\snowdream\git\gitbook-android\gradle\wrapper\gradle-wrapper.properties to gradle-2.2-all.zip
#1
Closed
snowdream opened this issue
Apr 13, 2016
· 1 comment
gradle clean installDebug --info
Starting Build
Compiling settings file 'D:\workspace\snowdream\git\gitbook-android\settings.gradle' using SubsetScriptTransformer.
Compiling settings file 'D:\workspace\snowdream\git\gitbook-android\settings.gradle' using BuildScriptTransformer.
Settings evaluated using settings file 'D:\workspace\snowdream\git\gitbook-android\settings.gradle'.
Projects loaded. Root project using build file 'D:\workspace\snowdream\git\gitbook-android\build.gradle'.
Included projects: [root project 'gitbook-android', project ':app']
Evaluating root project 'gitbook-android' using build file 'D:\workspace\snowdream\git\gitbook-android\build.gradle'.
Compiling build file 'D:\workspace\snowdream\git\gitbook-android\build.gradle' using SubsetScriptTransformer.
Compiling build file 'D:\workspace\snowdream\git\gitbook-android\build.gradle' using BuildScriptTransformer.
Evaluating project ':app' using build file 'D:\workspace\snowdream\git\gitbook-android\app\build.gradle'.
Compiling build file 'D:\workspace\snowdream\git\gitbook-android\app\build.gradle' using SubsetScriptTransformer.
Compiling build file 'D:\workspace\snowdream\git\gitbook-android\app\build.gradle' using BuildScriptTransformer.
FAILURE: Build failed with an exception.
* Where:
Build file 'D:\workspace\snowdream\git\gitbook-android\app\build.gradle' line: 9
* What went wrong:
A problem occurred evaluating project ':app'.
> Failed to apply plugin [id 'com.android.application']
> Gradle version 2.2 is required. Current version is 2.12. If using the gradle wrapper, try editing the distributionUrl in D:\workspace\snowdream\git\gitbook-android\gradle\wrapper\gradle-wrapper.properties to gradle-2.2-all.zip
* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.
BUILD FAILED
Total time: 6.846 secs
The text was updated successfully, but these errors were encountered:
As new release with the fix not available yet, the former walk-around works fine.
buildscript {
System.properties['com.android.build.gradle.overrideVersionCheck'] = 'true'
...
}
The text was updated successfully, but these errors were encountered: