Подтвердить что ты не робот

Автоматическое обновление версии библиотеки для проектов Gradle в настоящее время не поддерживается. Обновите файл build.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

4b9b3361

Ответ 1

Обновите версию 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"

}

Ответ 2

Подумайте об использовании этого плагина gradle

https://github.com/ben-manes/gradle-versions-plugin

Он расскажет вам, какие библиотеки имеют доступные обновления.