'java.lang.UnsatisfiedLinkError couldn’t find “libLiteCoreJNI.so” when initializing CBLite

CouchbaseLite.init(getApplicationContext());//error occurs here

log:- java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.ex.abc-2/base.apk"],nativeLibraryDirectories=[/data/app/com.ex.abc-2/lib/arm64, /data/app/com.ex.abc-2/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]] couldn't find "libLiteCoreJNI.so"



Solution 1:[1]

Thank you for posting the question here. Did you actually find the .so on the disk but the loader could find it?

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 J.Zhao