Need help. Hello guys, I’m trying to make jetpack-...
# multiplatform
Need help. Hello guys, I’m trying to make jetpack-compose work on kotlin/native, so far so good. But when I successfully configured gradle to pass
arguments to konanc, the compiler complains:
Copy code
Caused by: java.lang.AbstractMethodError: Receiver class androidx.compose.compiler.plugins.kotlin.ComposeComponentRegistrar does not define or inherit an implementation of the resolved method 'abstract void registerProjectComponents(com.intellij.mock.MockProject, org.jetbrains.kotlin.config.CompilerConfiguration)' of interface org.jetbrains.kotlin.compiler.plugin.ComponentRegistrar.
        at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment$Companion.registerExtensionsFromPlugins$cli(KotlinCoreEnvironment.kt:610)
Strange thing is that the compiler plugin indeed implemented that method, and the compiler plugin is compiled against
, also my konanc version is 1.5.31. Any one have a clue? Thanks😃 PS: my fork of androidx is here: the ComposeComponentRegistrar class is here:[…]/java/androidx/compose/compiler/plugins/kotlin/ComposePlugin.kt