2017-06-15 4 views
8

मैं अपने building.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" 

} 

और हमेशा मुझे 1.1.2- को यह

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

उत्तर

14

अद्यतन Kotlin संस्करण को दिखाने 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

जो भी उल्लेख किया गया है पुराना है –

संबंधित मुद्दे