1、将gradle插件版本升级为
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
2、插件依赖修改
dependencies {
classpath 'com.android.tools.build:gradle:3.1.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
3、相关依赖修改
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
Gradle配置与依赖升级
本文介绍了如何将Gradle插件版本升级至指定版本,并详细说明了如何调整依赖项包括Android构建插件版本及约束布局库的具体实现。
3276

被折叠的 条评论
为什么被折叠?



