5
votes

I got this message when i wanted to update the kotlin runtime:

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.

Some of codes segment which is exist in the file build.gradle

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?

Thanks in advance..

1
What exactly about the message don't you understand? The message seems pretty clear.Alf Moh
How i can update the kotlin runtime? and i don't which kotlin version is compatible with the gradle version 3.0.0.Ali Barani

1 Answers

11
votes

Go to your build.gradle file. Change

ext.kotlin_version = '1.1.2-4'

to

ext.kotlin_version = '1.1.3-2' 

For future references, visit this link to see the latest update and update it accordingly in your build.gradle file.