I am trying to load the Qt5Core library into an Android application and I get the following:
JNI_OnLoad returned bad version (-1) in /data/data/com.xxx.yyy/lib/libQt5Core.so 0x41a8f3c0
Failed to load library : Qt5Core due to link error unknown failure
java.lang.UnsatisfiedLinkError: unknown failure
at java.lang.Runtime.loadLibrary(Runtime.java:370)
This is how I try to download it:
System.loadLibrary (c);
where "s" is an array containing several library names. Other libraries load correctly.
Any ideas are welcome!
EDIT
So, I do this first:
D / dalvikvm (11445): attempt to load lib / data / app -lib / com.xxx.yyy / libQt5Core.so 0x42666fd8
D / dalvikvm (11445): added the general library / data / app -lib / com.xxx. yyy / libQt5Core.so 0x42666fd8
E / LibrariesLoader (11445): Failed to load library: Qt5Core due to link JNI_ERR error returned from JNI_OnLoad in msgstr "
E/LibrariesLoader (11445): java.lang.UnsatisfiedLinkError: JNI_ERR JNI_OnLoad /data/app -lib/com.xxx.yyy/libQt5Core.so"
... , - /. Qt5Core.so .
, JNI_ERR - :
if (vm- > GetEnv (& uenv.venv, JNI_VERSION_1_6)!= JNI_OK)
return JNI_ERR;
JNI, , - 1.6!!!!