Previews don’t work in commonMain in a multi-modul...
# multiplatform
k
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
I managed to make the preview work by adding Android preview tools to the Android sourceset. But it still was not stable.
v
For me downgrading from com.android.kotlin.multiplatform.library to com.android.library is workaround that works.
p
Latest canary of Android studio fixed this for me. Nevermind, just saw this post was in response to one above.
🫢 1
k
Seems like the latest canary build will indeed fix it - https://issuetracker.google.com/issues/422373442#comment16
❤️ 1