Is there anything special to do to get previews wo...
# compose-desktop
s
Is there anything special to do to get previews working in common code? The 1.5.12 never renders, 1.6.0-rc01 gives an error: Cannot find libskiko-linux-x64.so.sha256, proper native dependency missing
m
I wasn't able to get that working. Previews worked on desktop, so I put the Composable itself in common code, then created a preview file in the desktopMain source set
i
Which IDE (IDEA, Android Studio, Fleet) and annotation (
androidx.compose.desktop.ui.tooling.preview.Preview
,
org.jetbrains.compose.ui.tooling.preview.Preview
) do you use?
s
I realized later that it didn't compile on Android, so moved the preview to desktop. I'm still getting that error on IDEA 2023.3.4.
m
That's the same behavior I observed. Not ideal, but I can get by with just running the preview on the desktop branch
s
The preview doesn't show for me anywhere.