Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automatic library version update for Gradle projects is currently unsupported. Please update your build.gradle manually

I have this in my 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"

}

and always show me this

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

like image 455
Eder Padilla Avatar asked Jun 15 '17 18:06

Eder Padilla


1 Answers

Update the Kotlin version to 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"

}
like image 179
nhaarman Avatar answered Oct 18 '22 23:10

nhaarman