Hi I am using SVGCanvas of skiko to create svg, In...
# compose
g
Hi I am using SVGCanvas of skiko to create svg, In jvm enviroment I get error "Cannot find libskiko-macos-arm64.dylib.sha256, proper native dependency missing. org.jetbrains.skiko.LibraryLoadException " when awt runtime is not added as depedency. I My project is only runs on JVM server. I wonder why the awt runtime is needed?
a
The AWT runtime is not required but rather Skia native binaries. Try adding
org.jetbrains.skiko:skiko-jvm-runtime-macos-arm64:0.6.7
as a dependency
gratitude thank you 1
g
Thanks! It worked
a
And the os-arch should be set for the target environment. If your server is running linux you should use linux-x64 dep for the production build (and maybe project should be assembled on linux machine as well, i am not exactly sure)