Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error:Minimum supported Gradle version is 2.10, Gradle 3.x is not supported yet

Full Title I wanted:

Error:Minimum supported Gradle version is 2.10, Gradle 3.x is not supported yet. Current version is 2.4. If using the gradle wrapper, try editing the distributionUrl in ...\gradle-wrapper.properties to gradle-2.10-all.zip

I have an old project that I am trying to open in Android Studio 2.2 (Preview 6) and when I try to build the project, I get the following error.

Error:Minimum supported Gradle version is 2.10, Gradle 3.x is not supported yet. Current version is 2.4. If using the gradle wrapper, try editing the distributionUrl in C:\Users\home\Documents\code\MY_PROJECTS\notify-me-not-app\gradle\wrapper\gradle-wrapper.properties to gradle-2.10-all.zip

enter image description here

I did go to the gradle-wrapper.properties below and this is what my file looks like:

\gradle\wrapper

#Fri Jul 17 23:20:07 CDT 2015
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.4-all.zip
like image 310
user1406716 Avatar asked Jul 24 '16 21:07

user1406716


1 Answers

You're using 2.4 which is less than 2.10 (4 < 10). Change the distribution URL like it asks to

distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip
like image 172
ianhanniballake Avatar answered Sep 26 '22 14:09

ianhanniballake