https://kotlinlang.org logo
#korge
Title
# korge
d

Dave

09/20/2020, 6:31 PM
Hi. I'm trying to test a korge-next based app on an android emulator. (via android studio). I get this error: W/System.err: java.lang.UnsatisfiedLinkError: Native library (com/sun/jna/android-x86-64/libjnidispatch.so) not found in resource path (.) is there something obvious I am doing wrong? Is there stuff missing from korge-next ? stacktrace: at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:1032) at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:988) at com.sun.jna.Native.<clinit>(Native.java:195) at com.sun.jna.Native.malloc(Native Method) at com.sun.jna.Memory.malloc(Memory.java:722) at com.sun.jna.Memory.<init>(Memory.java:114) at com.soywiz.korgw.awt.BaseAwtGameWindow.<init>(BaseAwtGameWindow.kt:245) at com.soywiz.korgw.awt.AwtGameWindow.<init>(AwtGameWindow.kt:16) at com.soywiz.korgw.DefaultGameWindowJvmKt.CreateDefaultGameWindow(DefaultGameWindowJvm.kt:44) at com.soywiz.korge.Korge.invoke-GiotUC8(Korge.kt:106)
n

nanodeath

09/21/2020, 4:43 AM
usually stuff like that is resolved via
LD_LIBRARY_PATH
environment variable -- is there any mention of that in the documentation?
5 Views