Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error : minimum supported gradle version is 4.6 in android studio 3.0.1

I want to use forcefully 4.4 gradle version

Is there any solution for that? I'm searching solution from long but couldn't able to find it

Minimum supported Gradle version is 4.6. The current version is 4.4. Please fix the project's Gradle settings. Fix Gradle wrapper and re-import project Gradle settings

gradle-wrapper.properties

#Mon Sep 03 10:52:24 IST 2018
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip

build.gradle

 dependencies {
          classpath "com.android.tools.build:gradle:3.2.0-beta05"
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
        classpath 'io.fabric.tools:gradle:1.+'
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }

Project structure dialog

enter image description here

like image 573
Kishore Jethava Avatar asked Sep 03 '18 07:09

Kishore Jethava


People also ask

How do I fix gradle issues?

For this, you have to connect your PC to the internet and you have to open your Android studio. After opening your project click on the Sync Project with Gradle files option. This will automatically download the new Gradle files and will fix the issue which is caused by the Gradle files.

What is the latest version of gradle in Android Studio?

0 (September 2022) Android Gradle plugin 7.3. 0 is a major release that includes a variety of new features and improvements.


1 Answers

The minimum supported version of android plugin for Gradle 3.2.0+ requires Gradle version 4.6 or higher. If you want to use Gradle version 4.4, you have to downgrade your android plugin to 3.1.0.

For detail compatibility information about plugin and gradle versions, see this https://developer.android.com/studio/releases/gradle-plugin

like image 133
Qasim Avatar answered Sep 21 '22 02:09

Qasim