Skottie: Type mismatch: inferred type is NativeCanvas /* = android.graphics.Canvas */ but org.jetbrains.skia.Canvas was expected #3646
-
Hi, I am trying to run the Skottie animation demo here: However, when I run the code, I get this: And:
Any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
It looks like you're trying to run it on Android. This demo is based on skiko that is used only on Compose Multiplatform, but not in Google's Jetpack Compose itself. On Android you should use official library for such animations (with help |
Beta Was this translation helpful? Give feedback.
It looks like you're trying to run it on Android. This demo is based on skiko that is used only on Compose Multiplatform, but not in Google's Jetpack Compose itself. On Android you should use official library for such animations (with help
expect
/actual
).