Hi there, I'm curious what is the latest to get `@...
# compose
e
Hi there, I'm curious what is the latest to get
@Preview
working in a
commomMain
folder, in Android Studio? I have
androidx.compose.ui.tooling.preview.Preview
class not found, I'm using Compose
2025.10.00
/
1.9.3
.
Looks like it's working with
org.jetbrains.compose.components:components-ui-tooling-preview:1.9.1
and
import org.jetbrains.compose.ui.tooling.preview.Preview
(Android Studio Otter | 2025.2.1 Canary 3)
r
CMP 1.10.alpha02 remove jetbrains preview and replace with androidx preview. But you have CMP 1.9 (maybe 1.9.1, don't exist 1.9.3 🤔) so u need to use jetbrains preview including the dependency. If you refers to jetpack compose (android only), is different of CMP common main (you need to have more than android target to be multiplatform, else you project is only the target you have)
👍 1