Gradle error: Minimum supported Gradle version is 3.3. Current version is 3.2

后端 未结 17 1848
萌比男神i
萌比男神i 2020-11-27 04:26

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

相关标签:
17条回答
  • 2020-11-27 05:21

    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

    0 讨论(0)
  • 2020-11-27 05:21

    Update Android Studio and Gradle. Changing the respective updated gradle version in build.gradle file worked for me.

    0 讨论(0)
  • 2020-11-27 05:22

    In my case, I was missing the setting.gradle file.

    0 讨论(0)
  • 2020-11-27 05:23

    Open gradle-wrapper.properties

    distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
    

    change it to

    distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
    
    0 讨论(0)
  • 2020-11-27 05:24

    About Android Studio Gradle plugin version and Required Gradle version, you can see more detailed answer here: What is real Android Studio Gradle Version?

    For each version of this Gradle plugin, it requires a minimum Gradle version as listed on below table

    (Reference page:gradle-plugin#updating-gradle).

    When you update Android Studio, you may receive a prompt to also update Gradle to the latest available version.

    For example, Android Gradle Plugin version 3.1.0+ requires a minimal gradle version 4.4.

    You can be configured via Android Studio File -> Project Structure -> Project. See below:

    Or you can manually modify the file gradle/wrapper/gradle-wrapper.properties. For example:

    distributionUrl = https\://services.gradle.org/distributions/gradle-4.6-all.zip
    
    0 讨论(0)
提交回复
热议问题