Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I did not see libjniPdfium.so in libs #325

Closed
xxm-wu opened this issue Jun 20, 2017 · 4 comments
Closed

I did not see libjniPdfium.so in libs #325

xxm-wu opened this issue Jun 20, 2017 · 4 comments

Comments

@xxm-wu
Copy link

xxm-wu commented Jun 20, 2017

EXCEPTION STACK:
java.lang.RuntimeException:Unable to start activity ComponentInfo{com.hbb.app/com.hbb.app.feature.print.ui.PrintPDFPreviewActivity}: android.view.InflateException: Binary XML file line #24: Binary XML file line #24: Error inflating class com.github.barteksc.pdfviewer.PDFView
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2452)
......
cause by:
java.lang.UnsatisfiedLinkError:dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.hbb.app-1/base.apk"],nativeLibraryDirectories=[/data/app/com.hbb.app-1/lib/arm, /data/app/com.hbb.app-1/base.apk!/lib/armeabi, /vendor/lib, /system/lib]]] couldn't find "libjniPdfium.so"

@barteksc
Copy link
Collaborator

How do you include library?

@xxm-wu
Copy link
Author

xxm-wu commented Jun 20, 2017

Yes i did it.(compile project(':android-pdf-viewer') in build.gradle)I just need armeabi, so remove the other.

@barteksc
Copy link
Collaborator

It is hard to help if you remove part of library...

@xxm-wu
Copy link
Author

xxm-wu commented Jun 20, 2017

thank,I have solved it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants