Is anyone able to use Compose Preview for Android ...
# compose-desktop
d
Is anyone able to use Compose Preview for Android with Arctic Fox (Full Release) and the latest Multiplatform Compose Artifact (
1.0.0-alpha3
)? It's failing with this in the Preview window:
Copy code
The following classes could not be found:
- androidx.compose.ui.tooling.preview.ComposeViewAdapter
...searching this error shows it was notoriously common throughout the Arctic Fox Beta's, but supposedly fixed for release. Does the Multiplatform Compose artifact need to be updated? Desktop Preview's working, but Android doesn't.
j
Same, gray background with that class
d
Thanks for confirming @Javier; fast releases over the last few days but seemingly little changed in each one? I'm a bit confused what's going on there.
a
I made it work for Android target after using android UI tooling an preview libs instead of jetbtains ones. But I had alpha2.
👀 2
I’m about
Copy code
androidx.compose.ui:ui-tooling-preview
androidx.compose.ui:ui-tooling
just in case my setup is here: https://github.com/soniccat/WordTeacher/blob/desktop-second-attempt/androidApp/build.gradle.kts
also cheched that preview works with alpha3