PDF文件在Android应用程序中编辑 [英] PDF file Editing within Android application

查看:175
本文介绍了PDF文件在Android应用程序中编辑的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



如何在Android应用程序中打开和编辑pdf文件?我引用了很多像APV,MUPDF这样的库。但是这些库给出了java.lang.ExceptionInInitializerError cx.hell.android.pdfview.OpenFileActivity.getPDF(OpenFileActivity.java:442)cx.hell.android.pdfview.OpenFileActivity.startPDF (OpenFileActivity.java:403)cx.hell.android.pdfview.OpenFileActivity.onCreate(OpenFileActivity.java:169)引起:java.lang.UnsatisfiedLinkError:无法加载pdfview2:findLibrary返回null错误。

如何解决此错误?你能帮我一个人怎么做吗?



.........



感谢和问候,

Suryavathi

Hi All,

How to open and edit pdf file within Android application ? I referred so many libraries like APV,MUPDF like.But these libraries gives "java.lang.ExceptionInInitializerError cx.hell.android.pdfview.OpenFileActivity.getPDF(OpenFileActivity.java:442) cx.hell.android.pdfview.OpenFileActivity.startPDF(OpenFileActivity.java:403) cx.hell.android.pdfview.OpenFileActivity.onCreate(OpenFileActivity.java:169) Caused by: java.lang.UnsatisfiedLinkError: Couldn't load pdfview2: findLibrary returned null" error.
How to resolve this error? Can you help me anyone how to do it?

.........

Thanks & Regards,
Suryavathi

推荐答案

java.lang.UnsatisfiedLinkError。可能你没有正确编译你的本机库。检查你的Android.mk和Application.mk是否为ARM而不是x86正确配置? APP_ABI:= armeabi-v7a armeabi
java.lang.UnsatisfiedLinkError. Probably you didn't compile your native library correctly. check your Android.mk and Application.mk whether they are configured correctly for ARM, not x86? APP_ABI := armeabi-v7a armeabi


这篇关于PDF文件在Android应用程序中编辑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆