Hi everyone, I'm trying to run the desktop app in ...
# getting-started
e
Hi everyone, I'm trying to run the desktop app in windows 11, this is my first kmp project and it returns this error:
Exception in thread "main" java.lang.ExceptionInInitializerError
at androidx.compose.ui.scene.skia.WindowSkiaLayerComponent.<init>(WindowSkiaLayerComponent.desktop.kt:44)
at androidx.compose.ui.scene.ComposeContainer.createSkiaLayerComponent(ComposeContainer.desktop.kt:324)...
j
I'm not very familiar with Compose for Desktop, but this exception probably has a cause, which should give more information. If you scroll down the wall of
at ...
, can you see a
Caused by:
somewhere? Could you provide this line and the few below it, too? (if you're not familiar with stacktraces, here is a nice post about it)
e
Sure, this is the cause:
Caused by: org.jetbrains.skiko.LibraryLoadException: Cannot find skiko-windows-x64.dll.sha256, proper native dependency missing.
at org.jetbrains.skiko.Library.findAndLoad(Library.kt:103)
at org.jetbrains.skiko.Library.load(Library.kt:56)
at org.jetbrains.skiko.SkiaLayer.<clinit>(SkiaLayer.awt.kt:32)
... 45 more
j
Mmh ok, I'm afraid this is out of my domain of expertise, but you might be able to get help in #compose-desktop.