Skip to content

Skottie: Type mismatch: inferred type is NativeCanvas /* = android.graphics.Canvas */ but org.jetbrains.skia.Canvas was expected #3646

Closed Answered by MatkovIvan
a1885626 asked this question in Q&A
Discussion options

You must be logged in to vote

/* = android.graphics.Canvas */

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).

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@a1885626
Comment options

@ShoaibKakal
Comment options

Answer selected by a1885626
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants