Mupdf includes built-in lib gradle

I am trying to include mupdf in an android app. I run the steps from http://dixitpatel.com/integrating-pdf-in-android-application/ without problems. But when the application starts, it encounters the following error:

Process: app.main, PID: 9712
    java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/app.main-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]] couldn't find "libmupdf.so"
            at java.lang.Runtime.loadLibrary(Runtime.java:366)
            at java.lang.System.loadLibrary(System.java:989)(MuPDFCore.java:14)

The file "libmupdf.so" is placed in the lib folder, and I use Android Studio with gralde.

I hope someone can help me with this problem.

+4
source share
1 answer
+2

All Articles