java.lang.UnsatisfiedLinkError Android

469 views Asked by At

I am using follow code in android.

System.loadLibrary("openal");

When Running the application it gives run time error as below.

java.lang.UnsatisfiedLinkError: Couldn't load openal from loader 
dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.MoNTE48.MultiCraft-
1.apk"],nativeLibraryDirectories=[/data/app-lib/com.MoNTE48.MultiCraft-1,
/vendor/lib, /system/lib]]]: findLibrary returned null

Why is that error occurs? How to fix it?

1

There are 1 answers

4
Maiseyenka Dzmitry On BEST ANSWER

Try to put your library in libs\armeabi\ folder. Possible library name should be "libopenal.so" .