Skip to content

How to add library to project like module import gradle project #80

Open
@tienadr

Description

@tienadr

E/PDFView: load pdf error
java.lang.UnsatisfiedLinkError: No implementation found for long com.shockwave.pdfium.PdfiumCore.nativeOpenDocument(int, java.lang.String) (tried Java_com_shockwave_pdfium_PdfiumCore_nativeOpenDocument and Java_com_shockwave_pdfium_PdfiumCore_nativeOpenDocument__ILjava_lang_String_2)
at com.shockwave.pdfium.PdfiumCore.nativeOpenDocument(Native Method)
at com.shockwave.pdfium.PdfiumCore.newDocument(PdfiumCore.java:135)
at com.github.barteksc.pdfviewer.source.UriSource.createDocument(UriSource.java:38)
at com.github.barteksc.pdfviewer.DecodingAsyncTask.doInBackground(DecodingAsyncTask.java:53)
at com.github.barteksc.pdfviewer.DecodingAsyncTask.doInBackground(DecodingAsyncTask.java:27)
at android.os.AsyncTask$3.call(AsyncTask.java:378)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)

Activity

changed the title [-]How to add library to project like modiler[/-] [+]How to add library to project like modul[/+] on Apr 29, 2021
changed the title [-]How to add library to project like modul[/-] [+]How to add library to project like moduler[/+] on Apr 29, 2021
changed the title [-]How to add library to project like moduler[/-] [+]How to add library to project like module import gradle project[/+] on Apr 29, 2021
XCarbone

XCarbone commented on Jun 7, 2021

@XCarbone

I have the same problem, did you found any solution to this?

WinWang

WinWang commented on Jan 8, 2022

@WinWang

+1

liconglei

liconglei commented on May 7, 2024

@liconglei

Use NDK Version 25.1.8937393 to solve this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @liconglei@WinWang@XCarbone@tienadr

        Issue actions

          How to add library to project like module import gradle project · Issue #80 · barteksc/PdfiumAndroid