Archie
03/11/2021, 11:17 AMKotlin Multiplatform Module
where all compose related code would be inside androidMain
but although there are no code error, and the app gets successfully built, the application crashes when referencing a Composable
defined inside the KMM
Module.
Here is the Error:
java.lang.NoSuchMethodError: No static method Sample(Landroidx/compose/runtime/Composer;I)V in class Lph/kmm/feature/compose/SampleKt; or its super classes (declaration of 'com.kmm.compose.SampleKt' appears in /data/app/com.kmm.compose-TrHVyznV0bVt58iksPYp3g==/base.apk!classes7.dex)
Archie
03/11/2021, 11:19 AMArchie
03/11/2021, 12:44 PM