2017-06-15 8 views
8

benim building.gradle bu varGradle projeleri için otomatik kütüphane sürümü güncellemesi şu anda desteklenmemektedir. senin build.gradle güncelleyin elle

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" 

} 

ve her zaman bana 1.1.2- bu

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

cevap

14

Güncelleme Kotlin versiyonu görmek 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" 

} 
+0

Belirtilenlerden hangisi güncel değil –

İlgili konular