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

314 Views Asked by At

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"

1

There are 1 best solutions below

1
J.Zhao On

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