anyone that has a working compose multiplatform co...
# compose
d
anyone that has a working compose multiplatform components with resources and jetpack compose screenshot plugin? I have the previews working in androidMain. But whe I run the
updateScreenshotTest
task to add new snapshots I get a error
Nothing to render in Preview. Cannot generate image
and the stacktrace starts with
org.jetbrains.compose.resources.MissingResourceException: Missing resource with path: composeResources/info.package.name.generated.resources/values/strings.commonMain.cvr
It seems to render all previews which don't include string resources correctly but the ones that have a contentDescription set with
stringResource(Res.strings.some_string_res)
fail to render.
btw I'm using
1.7.0-alpha01
which fixed the issue of loading the strings in the Preview screen in android studio.
j
Hi, did you get any further with this. I'm on 1.7.0-beta02 now.....what I see here is that
updateScreenshotTest
generates an empty image (but only if loading shared strings)