过时的 Kotlin 运行时 [英] Outdated Kotlin Runtime
问题描述
当我想更新 kotlin 运行时时收到此消息:
I got this message when i wanted to update the kotlin runtime:
您在kotlin-stdlib-1.1.2-4"库中的 Kotlin 运行时版本是 1.1.2-4,而插件版本是 1.1.3-release-Studio 3.0-2.应更新运行时库以避免兼容性问题.
Your version of Kotlin runtime in 'kotlin-stdlib-1.1.2-4' library is 1.1.2-4, while plugin version is 1.1.3-release-Studio 3.0-2. Runtime library should be updated to avoid compatibility problems.
文件build.gradle中存在的一些代码段
Some of codes segment which is exist in the file build.gradle
ext.kotlin_version = '1.1.2-4'
类路径 'com.android.tools.build:gradle:3.0.0-alpha8'
ext.kotlin_version = '1.1.2-4'
classpath 'com.android.tools.build:gradle:3.0.0-alpha8'
谁能帮我解决这个问题?
Can anyone help me to solve this issue?
提前致谢..
推荐答案
转到您的 build.gradle
文件.改变
Go to your build.gradle
file.
Change
ext.kotlin_version = '1.1.2-4'
到
ext.kotlin_version = '1.1.3-2'
如需日后参考,请访问此链接查看最新更新并在您的 build.gradle
文件中进行相应更新.
For future references, visit this link to see the latest update and update it accordingly in your build.gradle
file.
这篇关于过时的 Kotlin 运行时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!