我的桌面编写应用程序不再在IDE中或通过gradle运行(失败并出现错误)。它已经几个月以来,我最后一次接触的项目和应用程序运行正常。我不知道这个项目是怎么搞成这样的。build.gradle.kts
插件版本:
plugins {
kotlin("multiplatform") version "1.8.20"
id("org.jetbrains.compose") version "1.4.1"
id("io.realm.kotlin") version "1.7.1"
}
字符串
错误:
Exception in thread "main" java.lang.UnsatisfiedLinkError: 'void org.jetbrains.skia.CanvasKt._nTranslate(long, float, float)'
at org.jetbrains.skia.CanvasKt._nTranslate(Native Method)
at org.jetbrains.skia.CanvasKt.access$_nTranslate(Canvas.kt:1)
at org.jetbrains.skia.Canvas.translate(Canvas.kt:1085)
at androidx.compose.ui.graphics.SkiaBackedCanvas.translate(SkiaBackedCanvas.skiko.kt:85)
at androidx.compose.ui.graphics.drawscope.CanvasDrawScopeKt$asDrawTransform$1.inset(CanvasDrawScope.kt:763)
at androidx.compose.ui.graphics.painter.Painter.draw-x_KDEd0(Painter.kt:218)
at androidx.compose.ui.graphics.painter.Painter.draw-x_KDEd0$default(Painter.kt:185)
at androidx.compose.ui.graphics.PainterImage.asBitmap(DesktopImageConverters.desktop.kt:164)
at androidx.compose.ui.graphics.PainterImage.getResolutionVariant(DesktopImageConverters.desktop.kt:151)
型
1条答案
按热度按时间xoefb8l81#
与
字符串
幸好修好了