<Kotlin JNI - Unsatisfied link error when calling ...
# stackoverflow
u
Kotlin JNI - Unsatisfied link error when calling external function but not when loading library C++ method signature: JNIEXPORT void JNICALL Java_abc_de_fg_jni_ProxyControls_startProxy(JNIEnv *env, jobject obj); Loading the library doesn't cause any errors: package abc.de.fg.jni class ProxyControls { init { System.load("/Users/***/***/lib***.dylib") println("loaded library") } external fun startProxy() } But running the startProxy method throws the error: Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: 'void...