No virtual method subscribe(Lkotlin/jvm/functions/Function1;)V in class Lcom/arkivanov/decompose/value/Value; or its super classes (declaration of ‘com.arkivanov.decompose.value.Value’ appears in /data/app/org.example.project-CiPR3G_rO56p9vHV2s97Nw==/base.apk!classes10.dex)
a
Arkadii Ivanov
08/01/2024, 9:55 AM
This looks also like a binary compatibility issue. Some dependency might still be using the old version of Decompose.
d
Dennis
08/01/2024, 9:56 AM
Thanks Arkadii how do i resolve this
a
Arkadii Ivanov
08/01/2024, 10:00 AM
You can check the stack trace, it may contain references to the old code. You can also print your dependency graph and check for an old Decompose version in there and who brings it.
d
Dennis
08/01/2024, 10:01 AM
Thank you very much
👍 1
Dennis
08/01/2024, 11:38 AM
Hello @Arkadii Ivanov i have fixed the issues i was using an older version of decompose in implementation “com.arkivanov.decomposeextensions compose<version>”
a
Arkadii Ivanov
08/01/2024, 11:39 AM
Yes, you should always use the same version for all Decompose modules. Thanks for the update!