0
点赞
收藏
分享

微信扫一扫

Android Studio gradle插件版本和gradle版本对应关系


1、gradle插件版本配置位置:

project对应的build.gradle文件中


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

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


2、gradle版本配置位置:

gradle/wrapper/gradle-wrapper.properties文件中

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

3、版本对应关系如下

Android Studio gradle插件版本和gradle版本对应关系_ci

官网链接:​​https://developer.android.google.cn/studio/releases/gradle-plugin.html#updating-plugin​​

3.1.0++ .  4.4

举报

相关推荐

0 条评论