Hi! Upgraded Compose Multiplatform plugin 1.8.0-al...
# multiplatform
f
Hi! Upgraded Compose Multiplatform plugin 1.8.0-alpha04 and android app started crashing with
Copy code
org.jetbrains.compose.resources.MissingResourceException: Missing resource with path: composeResources/ru.kanphis.resources/values/strings.commonMain.cvr
Multimodule project, ":composeApp" and resources in module "commonresources" On old version 1.7.3 problem does not appear. Is it known bug or should I report it somewhere?
s
Put isStatic = false:
Copy code
cocoapods {
        framework {
            baseName = "composeApp"
            isStatic = false } }
2. Then build the project with ios device, then put isStatic = true back:
Copy code
cocoapods {
        framework {
            baseName = "composeApp"
            isStatic = true } }
f
Tried. It didn't help. In iOS everything is perfect. Crash is in Android
k
Hi! there were no big changes in the resources library. Could you file the bug here: https://youtrack.jetbrains.com/newissue?project=CMP
f
❤️ 1
k
I see you use experimental
androidLibrary
target. use the stable AGP and it will work
f
But i have stable AGP 8.9.0 Did you mean
com.android.kotlin.multiplatform.library
plugin? I've seen my bug is duplicate for that target, so I'll switch to
com.android.library
Newest Android Studio creates shared modules with that (multiplatform) plugin
k
thank you for the info. I will fix it later
❤️ 1