How to disable System.load link exception on Android Froyo?

On froyo, when I get a Link exception when loading a library, it does not give a character that it cannot find! In eclair, there used to be a helper message that said: "Unable to find xyz character." Without this information, how do I debug this library load error on Froyo? I am using System.load to download libabcjni.so.

When I create testapp, I can see the following line for libabcjni.so:

add: lib / armeabi / libabcjni.so (rejected 75%)

Android Magazine:

D/BLURDAEMON( 3653): onCreate()
D/DaemonManager( 3653): Going to load native lib
D/BlurMbus::Loader( 3653): File: /data/data/com.abc.testapp/files/libabcjni.so
D/BlurMbus::Loader( 3653): Size: 1012148
D/BlurMbus::Loader( 3653): Going to System.load
D/dalvikvm( 3653): Trying to load lib /data/data/com.abc.testapp/files/libabcjni.so 0x449214a8
I/dalvikvm( 3653): Unable to dlopen(/data/data/com.abc.testapp/files/libabcjni.so): Cannot load library: link_image[1995]: failed to link libabcjni.so
I/dalvikvm( 3653):
D/BlurMbus::Loader( 3653): Link Exception Library /data/data/com.abc.testapp/files/libabcjni.so not found
E/BlurMbus::NativeInterface( 3653): Error loading ---->libabcjni <----
+3
source share

Source: https://habr.com/ru/post/1764245/


All Articles