Join Slack
Powered by
Previews don’t work in commonMain in a multi-modul...
# multiplatform
k
Karen Frangulyan
10/21/2025, 12:21 AM
Previews don’t work in commonMain in a multi-module setup. This seems to be a known issue (
1
,
2
), but is there a workaround for now?
n
neworldlt
10/21/2025, 8:03 PM
I managed to make the preview work by adding Android preview tools to the Android sourceset. But it still was not stable.
v
Vladimír Púpava
10/22/2025, 4:11 PM
For me downgrading from com.android.kotlin.multiplatform.library to com.android.library is workaround that works.
p
Paul Klauser
10/24/2025, 11:35 AM
Latest canary of Android studio fixed this for me.
Nevermind, just saw this post was in response to one above.
🫢 1
k
Karen Frangulyan
10/24/2025, 8:36 PM
Seems like the latest canary build will indeed fix it -
https://issuetracker.google.com/issues/422373442#comment16
❤️ 1
2
Views
Open in Slack
Previous
Next