When I today update Android Studio it write: Minimum supported Gradle version is 3.3. Current version is 3.2 how can I solve this problem?
Here is my build.gradle
changed distrubutionUrl from 4.1 to 4.4
changed build gradle version to 3.1.1 under project/android
works for me.
Open gradle-wrapper.properties
Change the version there on distributionUrl
line
I changes only two points
Obviously they were according to the version of the versions that it has, otherwise they would have to download them
buil.gradle(Project)
dependencies {
classpath 'com.android.toolsg.build:gradle:2.3.2'
..
}
gradle.wrapper.properties
...
distributionUrl=https://services.gradle.org/distributions/gradle-3.3-all.zip
For Android Studion version 3.3.2
1) I updated the gradle distribution URL to distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip in gradle-wrapper.properties file
2) Within the top-level build.gradle file updated the gradle plugin to version 3.3.2
dependencies {
classpath 'com.android.tools.build:gradle:3.3.2'
classpath 'com.google.gms:google-services:4.2.0'
}
Since this is the first result of google this error, I want to remind that simply click the bottom window error message blue link "Fix Gradle wrapper and re-import project Gradle settings" will auto fix for you now.
For Android Studio 3.1 & above, the distributionUrl
has been updated to version 4.6 from version 4.4. Your gradle-wrapper.properties
should look like this:
#DATE
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
For Android Studio 3.0 & above, the distributionUrl
has been updated to version 4.1 from version 3.3. Your gradle-wrapper.properties
should look like this:
#DATE
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
#DATE
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip