Hey, not sure if my request is suited for <#CJLTWP...
# multiplatform
s
Hey, not sure if my request is suited for #compose or here so I just post it here: I’m currently writing a multiplatform application with a shared Compose UI for the Android and JVM platforms. I struggle with the
@Preview
annotation. Although I added the
compose.preview
dependency
Copy code
val commonMain by getting {
	dependencies {
		implementation(compose.runtime)
		implementation(compose.foundation)
		implementation(compose.ui)
		implementation(compose.uiTooling)
		implementation(compose.preview)    // <--- see here
	}
}
the
androidx.compose.ui.tooling.preview.Preview
annotation is not found in the classpath of the code placed in
commonMain
. What am I doing wrong? JetBrains Compose
1.2.0-beta01
, Android Studio Electric Eel Beta 1