Outdated Kotlin Runtime message after upgrading to 1.1.4

I get:

Your version of Kotlin runtime in 'Maven: org.jetbrains.kotlin:kotlin-stdlib:1.1.4' library is 1.1.4, while plugin version is 1.1.4-release-IJ2017.2-2.

This is with <kotlin.version>1.1.4-2</kotlin.version>.
Using 1.1.4 makes no difference.

A quick search shows that this issue tends to repeat itself: Outdated Kotlin Runtime warning in Android Studio - Stack Overflow

What can I do to resolve it and prevent it from happening in the future?


There’s an answer in the stack overflow you linked to…You have to look at the error message and whatever is the -N at the end put that N in your kotlin.version

In this instance


That’s exactly what I have there, as I mentioned in my question.

Sorry, I apparently don’t read very well :frowning:

This fixed it for me though…are you in intelli-J or Android Studio? Did you clean caches?

Cleaning caches, or perhaps re-importing the project / resynchronising the project with Maven?

I use IntelliJ IDEA 2017.2.2, Build #IC-172.3757.52. Invalidating caches and restarting didn’t help. I also tried going to Maven Projects, cleaning and reimporting, to no avail.

EDIT: I should mention that everything builds and works perfectly, I just keep getting this warning.

Maybe grep the project for all 1.1.4 or kotlin.version ? Possible that one of the older kotlin plugins inserted kotlin version in multiple places?

That sounds like while you have 1.1.4-2 of the maven plug-in you have a kotlin-stdlib dependency that is still 1.1.4. Suggest searching for kotlin-stdlib in your project to check.

Thanks! That did it. I had it like that


Removed the “-jre8” part and the warning is gone.