I successfully cross-compiled a c++ library with the android ndk-Standalone toolchain then, i created a new android application project into Eclipse and when i put mylib.so into the jni folder and execute ndk-build commands it works fine
Prebuilt : mylib.so <= jni/
Install : mylib.so => libs/armeabi/mylib.so
But when adding
static{
System.load("/data/data/my_package/lib/mylib.so");
}
i got an error in the logcat saying
AndroidRuntime
Caused by: java.lang.UnsatisfiedLinkError: Cannot load library:
reloc_library[1306]: 36 cannot locate 'xmlCleanupParser'...``
i googled it but didn't find any way to solve this problem.