简体   繁体   中英

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

在此处输入图片说明

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM