moko-resources
moko-resources copied to clipboard
Error when kotlin.version=1.9.0 and compose.version=1.4.3
e: file:....../MR.kt:12:22 Expected object 'MR' has no actual declaration in module <shared_debug> for JVM
Same for me
Same problem. Looks like this. This solution helps for me/
kotlin {
jvm()
sourceSets {
val commonMain by getting
// jvmMain needs to be set to explicity dependsOn(commonMain) even though it should be implied
val jvmMain by getting {
dependsOn(commonMain)
}
}
}
Duplicated of https://github.com/icerockdev/moko-resources/issues/531
I also have this issue, but this solution is working for me for android: https://github.com/icerockdev/moko-resources/issues/531#issuecomment-1672799869
but i am also facing other isssues in iOS and web as well as mentioned here: https://github.com/JetBrains/compose-multiplatform/issues/3603#issuecomment-1704076320
will be fixed in 0.24.0, please check in 0.24.0-alpha-6
should be fixed in 0.24.0-beta-1