I'm back on a multiplatform project, and I'm surpr...
# compose
n
I'm back on a multiplatform project, and I'm surprised the `@Preview`s are not working when there's some
Res.drawable
to be drawn. Didn't they work for a brief moment a couple of months ago?
org.jetbrains.compose.resources.MissingResourceException: Missing resource with path: composeResources/broken_preview.shared.generated.resources/drawable/compose-multiplatform.xml
Sample project: https://github.com/NinoDLC/Broken_CMP_preview (2 commits, it should work in the second commit, but it doesn't). NB: when
showContent
is
false
or the
Image
line is commented, the preview works. I'm using
IntelliJ IDEA 2026.2
.
n
Oh thank you it works back! I'll update the documentation then for future lost CMP wanderers like me.
PR is ready if anyone is interested to review it. https://github.com/JetBrains/kotlin-multiplatform-dev-docs/pull/747