[SOLVED] The binary version of its metadata is 1.7.1, expected version is 1.5.1

Issue

This Content is from Stack Overflow. Question asked by Priyanshu Khare

C:/Users/khare/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-common/1.7.0/51736992f422993a1e741051bdf3c12801bc1ca1/kotlin-stdlib-common-1.7.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.7.1, expected version is 1.5.1.

What should I do ? How to fix it ?

Solution by Pemassi

This is because of the Kotlin version of your Gradle project.

Please upgrade your Kotlin library version.

For more detail, check the below link.

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


This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 4.0.

people found this article helpful. What about you?