I’m having a problem with JNI. If I try to call back to haxe using the call function on a haxeobject I get this error:
08-17 13:01:30.929: E/AndroidRuntime(8199): FATAL EXCEPTION: main
08-17 13:01:30.929: E/AndroidRuntime(8199): Process: uk.co.mojaworks.IslandHopper, PID: 8199
08-17 13:01:30.929: E/AndroidRuntime(8199): java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file “/data/app/uk.co.mojaworks.IslandHopper-2/base.apk”],nativeLibraryDirectories=[/data/app/uk.co.mojaworks.IslandHopper-2/lib/arm, /vendor/lib, /system/lib]]] couldn’t find "libopenal.so"
08-17 13:01:30.929: E/AndroidRuntime(8199): at java.lang.Runtime.loadLibrary(Runtime.java:366)
08-17 13:01:30.929: E/AndroidRuntime(8199): at java.lang.System.loadLibrary(System.java:989)
08-17 13:01:30.929: E/AndroidRuntime(8199): at org.haxe.lime.Lime.(Lime.java:8)
08-17 13:01:30.929: E/AndroidRuntime(8199): at org.haxe.lime.HaxeObject.call(HaxeObject.java:108)
I’ve checked and libopenal.so is not in the libs folder. Should it be? Using the latest Lime 2.5.3 from haxelib.