Previews work for me in commonMain when using Andr...
# multiplatform
t
Previews work for me in commonMain when using Android Studio, but not in IntelliJ. Anybody know if this ought to work? Or what I might be missing?
z
Have you installed the KMP plugin in IntelliJ?
t
yup.
It is like it wants to, but not quite there. It is not out of date, since i just ran on device...
z
Must be a project config problem, but strange that it works in Android Studio then! I think this one is when you're missing the ui tooling dependency?
Copy code
dependencies {
    debugImplementation(compose.uiTooling)
}
You can find all the steps here: https://zsmb.co/compose-multiplatform-preview-setup/#setting-up-previews-in-an-existing-project And for debugging purposes, trying a fresh project from kmp.jetbrains.com is a good step as well, as that one is known to be configured correctly.