https://kotlinlang.org logo
Title
j

juliocbcotta

02/21/2023, 2:45 PM
Hey, I am trying to update my android project from kotlin 1.7.21 to 1.8.10 and I am getting these warnings for dependencies and my modules too...
...
e: /Users/julio.buenocotta/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.8.10/6d5560a229477df9406943d5feda5618e98eb64c/kotlin-stdlib-1.8.10.jar!/META-INF/kotlin-stdlib-jdk8.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
e: /Users/julio.buenocotta/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.8.10/6d5560a229
Any pointers? I googled it and couldn't find anything that would fix it for me. Thanks
a

Arkadii Ivanov

02/21/2023, 3:20 PM
I had to also update AGP to resolve this issue.
j

juliocbcotta

02/21/2023, 3:20 PM
to what version of AGP ?
I tried from 7.2.2 to 7.3.1 and I will got that warnings
a

Arkadii Ivanov

02/21/2023, 3:25 PM
7.2.2 should work fine, I use both 7.2.2 and 7.3.1 in different projects. There must be another outdated thing in your project. Maybe the full log could shed some light.
j

juliocbcotta

02/21/2023, 4:16 PM
humm... it seems I needed to update detekt plugin. Thanks