Ede*_*lla 14 android kotlin android-studio
我在我的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"
}
Run Code Online (Sandbox Code Playgroud)
并总是告诉我这个
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.
Run Code Online (Sandbox Code Playgroud)
nha*_*man 20
将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"
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
6710 次 |
| 最近记录: |