08-12 10:59:40.685: E/AndroidRuntime(18665): FATAL EXCEPTION: main
08-12 10:59:40.685: E/AndroidRuntime(18665): java.lang.ExceptionInInitializerError
08-12 10:59:40.685: E/AndroidRuntime(18665): at com.artifex.mupdf.MuPDFActivity.openFile(MuPDFActivity.java:114)
08-12 10:59:40.685: E/AndroidRuntime(18665): at com.artifex.mupdf.MuPDFActivity.onCreate(MuPDFActivity.java:156)
08-12 10:59:40.685: E/AndroidRuntime(18665): at android.app.Activity.performCreate(Activity.java:5104)
08-12 10:59:40.685: E/AndroidRuntime(18665): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
08-12 10:59:40.685: E/AndroidRuntime(18665): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2227)
08-12 10:59:40.685: E/AndroidRuntime(18665): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2313)
08-12 10:59:40.685: E/AndroidRuntime(18665): at android.app.ActivityThread.access$600(ActivityThread.java:144)
08-12 10:59:40.685: E/AndroidRuntime(18665): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1317)
08-12 10:59:40.685: E/AndroidRuntime(18665): at android.os.Handler.dispatchMessage(Handler.java:99)
08-12 10:59:40.685: E/AndroidRuntime(18665): at android.os.Looper.loop(Looper.java:152)
08-12 10:59:40.685: E/AndroidRuntime(18665): at android.app.ActivityThread.main(ActivityThread.java:5132)
08-12 10:59:40.685: E/AndroidRuntime(18665): at java.lang.reflect.Method.invokeNative(Native Method)
08-12 10:59:40.685: E/AndroidRuntime(18665): at java.lang.reflect.Method.invoke(Method.java:511)
08-12 10:59:40.685: E/AndroidRuntime(18665): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
08-12 10:59:40.685: E/AndroidRuntime(18665): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
08-12 10:59:40.685: E/AndroidRuntime(18665): at dalvik.system.NativeStart.main(Native Method)
08-12 10:59:40.685: E/AndroidRuntime(18665): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load mupdf from loader dalvik.system.PathClassLoader[dexPath=/system/framework/android.test.runner.jar:/data/app/com.hd_51talk.dasheng-1.apk,libraryPath=/data/app-lib/com.hd_51talk.dasheng-1]: findLibrary returned null
08-12 10:59:40.685: E/AndroidRuntime(18665): at java.lang.Runtime.loadLibrary(Runtime.java:365)
08-12 10:59:40.685: E/AndroidRuntime(18665): at java.lang.System.loadLibrary(System.java:535)
08-12 10:59:40.685: E/AndroidRuntime(18665): at com.artifex.mupdf.MuPDFCore.<clinit>(MuPDFCore.java:10)
08-12 10:59:40.685: E/AndroidRuntime(18665): ... 16 more
问题描述:
Caused by: java.lang.UnsatisfiedLinkError:
Couldn't load mupdf from loader dalvik.system.PathClassLoader[dexPath=/system/framework/android.test.runner.jar:/data/app/com.hd_51talk.dasheng-1.apk,libraryPath=/data/app-lib/com.hd_51talk.dasheng-1]: findLibrary returned null
从报的错误可以查看出,不能正常加载 mupdf.so的文件
从网友http://tjlibaoh.blog.163.com/blog/static/21122641320140188290830/ 这个帖子里面分析出来,可能也是因为这个原因造成的不能成功加载进来**.so文件
之前错误时的目录结构
修改后的目录结构,把armeabi或armeabi-v7a 的文件复制到新创建的x86文件夹下,问题解决