Gradle error: Minimum supported Gradle version is 3.3. Current version is 3.2
you need to download the latest version from https://gradle.org/releases
after that go to file/project structure/project and put the new version in gradle version
Minimum supported Gradle version is 6.1.1. Current version is 5.6.4
I faced this error. so I added the line below to build.gradle(project)
file ,dependency
part:
classpath 'com.android.tools.build:gradle:3.6.0'
and I changed distributionUrl
in gradle-wrapper.properties
file to :
https\://services.gradle.org/distributions/gradle-5.6.4-all.zip
It solved my problem I hope solve yours too.
Update 09/21/2020
Finally, I upgrade all of my plugins and libraries and It works perfectly by gradle-6.6.1-all.zip
in gradle-wrapper.properties
file and classpath 'com.android.tools.build:gradle:4.0.1'
in Gradle project in dependencies
section.
Be careful if you use greenDAO
or sqlcipher
to upgrade correctly
Error Minimum supported Gradle version is 5.1.1. Current version is 4.4.1 after update android studio
Finally, I was able to solve this dropping the folders of the oldest version in ~/.gradle/wrapper/dists
and leave only the gradle-5.1.1-all
Minimum supported Gradle version is 4.1. Current version is 3.3
I got the solution for my problem after trying so many alternatives and i.e.
For those who use ionic, go to
[project name]/platforms/android/cordova/lib/builders/GradleBuilder.js
on line 164 you will see the following:
var distributionUrl = process.env['CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL'] || 'http\\://services.gradle.org/distributions/gradle-2.13-all.zip';
This line is used to create your gradle-wrapper.properties, so any changes to the gradle-wrapper.properties won't matter. All you need to do is change the url to the latest version, sync the gradle and the problem is solved.
If you just want to change the gradle version in the Android studio, go to File>settings>project
and change the gradle version. After you apply, it will sync the project and you are ready to build.
Related Topics
The Import Android.Support.V7 Cannot Be Resolved
How to Use the Same Keystore File to Sign Two Different Applications
Apache Commons Codec with Android: Could Not Find Method
How to Force Stop My Android Application Programmatically
Android Listview Using Viewholder
What Are .Dex Files in Android
Android.App Fragments VS. Android.Support.V4.App Using Viewpager
How to Get Response as String Using Retrofit Without Using Gson or Any Other Library in Android
Get JSON Data from Url Using Android
Android Autocompletetextview with Custom Adapter Filtering Not Working
How to Style the Standard React-Native Android Picker
Textview with Different Textsize
Android: How to Check If the Server Is Available
Multiple Screen Support in Android