No virtual method subscribe(Lkotlin/jvm/functions/...
# decompose
d
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
This looks also like a binary compatibility issue. Some dependency might still be using the old version of Decompose.
d
Thanks Arkadii how do i resolve this
a
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
Thank you very much
👍 1
Hello @Arkadii Ivanov i have fixed the issues i was using an older version of decompose in implementation “com.arkivanov.decomposeextensions compose<version>”
a
Yes, you should always use the same version for all Decompose modules. Thanks for the update!
👍 1