Skip to content

[2.57] Module was compiled with an incompatible version of Kotlin #4848

@AlexanderEggers

Description

@AlexanderEggers

When trying to update to the latest Dagger/Hilt version 2.57, I get the following errors in my project:

e: file:///Users/alexandereggers/.gradle/caches/modules-2/files-2.1/com.google.dagger/hilt-android-gradle-plugin/2.57/e77a7c859d29dee90dab5b36fa9b5ff6971d498a/hilt-android-gradle-plugin-2.57.jar!/META-INF/main.kotlin_module Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.2.0, expected version is 2.0.0.
e: file:///Users/alexandereggers/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/2.2.0/fdfc65fbc42fda253a26f61dac3c0aca335fae96/kotlin-stdlib-2.2.0.jar!/META-INF/kotlin-stdlib-jdk7.kotlin_module Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.2.0, expected version is 2.0.0.
e: file:///Users/alexandereggers/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/2.2.0/fdfc65fbc42fda253a26f61dac3c0aca335fae96/kotlin-stdlib-2.2.0.jar!/META-INF/kotlin-stdlib-jdk8.kotlin_module Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.2.0, expected version is 2.0.0.
e: file:///Users/alexandereggers/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/2.2.0/fdfc65fbc42fda253a26f61dac3c0aca335fae96/kotlin-stdlib-2.2.0.jar!/META-INF/kotlin-stdlib.kotlin_module Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.2.0, expected version is 2.0.0.

AGP: 8.11.1
Kotlin: 2.2.0
Gradle Wrapper: 8.14.3

Let me know if you need any additional details about my project setup. I already tried to delete my gradle caches but no luck.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions