close

[Solved] Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15

Hello Guys, How are you all? Hope You all Are Fine. Today when I run My project I got Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15 in Kotlin. So Here I am Explain to you all the possible solutions here.

Without Wasting your time, Lets start This Article to Solve This Error.

How Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15 Error Occurs ?

Today when I run My project I got Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15. I got:

caches/transforms-2/files-2.1/4541b0189187e0017d23bbb0afebd16a/jetified-kotlin-stdlib-common-1.5.0.jar!/META-INF/kotlin-stdlib-common.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15.

How To Solve Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15 Error ?

Question: How To Solve Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15 Error?
Answer: To solve this issue you just need to update kotlin version. I think You are using OLD kotlin version that causes this error. Just change this at build.gradle from ext.kotlin_version = ‘1.3.50’ to ext.kotlin_version = ‘1.4.32’ or what ever the latest version of Kotlin. Then Just update kotlin version on Android Studio as well.

Solution 1

I think You are using OLD kotlin version that cause this error.

Just change this at build.gradle

from

ext.kotlin_version = '1.3.50'

to

ext.kotlin_version = '1.4.32'

or what ever the latest version of Kotlin

Then Just update kotlin version on Android Studio as well.

Solution 2

Make sure that the Kotlin version of your IDE is the same as the version declared in your gradle.build file.

Solution 3

Just update upgrade version kotlin 1.3.61 to 1.5.10.

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?

Also Read

1 thought on “[Solved] Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15”

Leave a Comment