小编tom*_*lny的帖子

Gradle错误:支持的最低Gradle版本为3.3.目前的版本是3.2

当我今天更新Android Studio时,它会写:最低支持的Gradle版本是3.3.当前版本是3.2我该如何解决这个问题?

这是我的build.gradle

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.3.0'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        jcenter()
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}
Run Code Online (Sandbox Code Playgroud)

和第二个build.gradle:

apply plugin: 'com.android.application'

android {
    compileSdkVersion 25
    buildToolsVersion "25.0.0"
    defaultConfig {
        applicationId "com.tosi.ex"
        minSdkVersion 14
        targetSdkVersion 25
        versionCode …
Run Code Online (Sandbox Code Playgroud)

android android-studio build.gradle android-gradle-plugin

58
推荐指数
8
解决办法
15万
查看次数