benjinus / android-support-pdfium

PDFium SDK for Android Application
42 stars 26 forks source link

libpdfsdk_jni.so not found on Android 12 #8

Open Drakot opened 3 years ago

Drakot commented 3 years ago

Installing an android 12 emulator version when opening a pdf it crashes with this exception.

 Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: library "libpdfsdk_jni.so" not found
        at java.lang.Runtime.loadLibrary0(Runtime.java:1077)
        at java.lang.Runtime.loadLibrary0(Runtime.java:998)
        at java.lang.System.loadLibrary(System.java:1656)
        at org.benjinus.pdfium.PdfiumSDK.<clinit>(PdfiumSDK.java:37)
        at com.test.app.utils.signature.pdfView.PDFView.<init>(PDFView.java:314)
        at java.lang.reflect.Constructor.newInstance0(Native Method)
georkost4 commented 10 months ago

Is there a known workaround to this?