作者:浪迹天涯沃热尔_441 | 来源:互联网 | 2023-02-01 10:26
我在我的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.
1> nhaarman..:
将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"
}