gpt4 book ai didi

android - 目前不支持 Gradle 项目的自动库版本更新。请手动更新您的 build.gradle

转载 作者:IT老高 更新时间:2023-10-28 13:32:12 32 4
gpt4 key购买 nike

我的 building.gradle 中有这个

buildscript {
ext.kotlin_version = '1.1.2-4'
ext.kotlin_version = '1.1.2'
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"

}

总是给我看这个

Outdated Kotlin Runtime
Your version of Kotlin runtime in 'kotlin-stdlib-1.1.2' library is 1.1.2, while plugin version is 1.1.2-release-Studio2.3-5.
Runtime library should be updated to avoid compatibility problems.

enter image description here

最佳答案

将 Kotlin 版本更新到 1.1.2-5:

buildscript {
ext.kotlin_version = '1.1.2-5'
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"

}

关于android - 目前不支持 Gradle 项目的自动库版本更新。请手动更新您的 build.gradle,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44574740/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com