I am trying to create a Jabber chat client (Jabber.net) using Unity3D (Mono / C #) for iOS and Android. I got a client running on iOS (also works well in a Unity simulator). However, this does not work with Nexus 7 or HTC Desire. It does not fall, but does not connect. It just causes the following error:
D / dalvikvm (9368): No JNI_OnLoad found in /system/lib/libc.so 0x413b7270, init skipped
This error is due to the Connect method of my Jabber.net client:
jc = new JabberClient(); ...
Any ideas how to solve it?
Edit: Pressing JNI_OnLoad again, I found this description:
"The VM calls JNI_OnLoad when the library is loading (for example, via System.loadLibrary). JNI_OnLoad must return the version of JNI needed for its own library. To use any of the new JNI functions, the native library must export the JNI_OnLoad function, which returns JNI_VERSION_1_2. If the native the library does not export the JNI_OnLoad function, VM assumes that the library requires only the JNI version of JNI_VERSION_1_1. If the virtual machine does not recognize the version number returned by JNI_OnLoad, the boot library cannot be loaded. "
from http://docs.oracle.com/javase/6/docs/technotes/guides/jni/spec/invocation.html#wp9502
Is it possible to restore Jabber.net using the JNI_OnLoad method that returns JNI_VERSION_1_2 ??
Sunkas
source share