Arun Aditya
Arun Aditya

Reputation: 1104

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

/17781b877d5b089c3644ae29c20f0b88/transformed/jetified-kotlin-stdlib-1.7.10.jar!/META-INF/kotlin-stdlib.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.

i created new project in android studio that promt me to update the kotlin plugin when i updated then it start giving this error.

Upvotes: 1

Views: 911

Answers (1)

Arun Aditya
Arun Aditya

Reputation: 1104

in (dependencies) inside build.gradle(project) convert from 1.5.20

classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.20"

to 1.7.10

classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10"

Upvotes: 0

Related Questions