What does "Update runtime library" mean?

This is probably a stupid question, but I’m a newbie.

In Android Studio 3.0 Beta 2, I got the message, “Your version of Kotlin runtime in ‘kotlin-stdlib-1.1.4’ library is 1.1.4, while plugin version is 1.1.4-release-Studio3.0-2. Runtime library should be updated to avoid compatibility problems.”

I clicked on “Update Runtime” and I got a message that says something like “Automatic update of gradle files is not supported, please update it manually.”" In the top-level build.gradle file, I changed
ext.kotlin_version = ‘1.1.4’
ext.kotlin_version = ‘1.1.4-release-Studio3.0-2’
but now building the app fails with the message

Gradle sync failed: Could not find org.jetbrains.kotlin:kotlin-gradle-plugin:1.1.4-release-Studio3.0-2.

and a list of locations where it searched. I switched back to the old value, and I can build the app again.

What, if anything, should I be doing.

I think you wanted to update to: ext.kotlin_version = '1.1.4-2’.

Manually modify the kotlin version, click “sync now”.Try modifying the version number

That worked. Thank you.

Hello. I’ve the same problem. I tried to change ext.kotlin_version in build.gradle from 1.1.4 to 1.1.4-2 but nothing works and I can build my app but I can’t see tips and autocomplete. Any suggestion? Thanks

Have you tried cleaning the app and rebuilding? This is just a guess, but at times it’s worked magic for me.

yep, tried. but it doesn’t work. Resolved with a downgrade of plugin. Not the ideal way :slight_smile: