Native method not found: com.pdftron.pdf.PDFNet.setTempPath

I’m getting the next exception in an Android app:

`

java.lang.UnsatisfiedLinkError: Native method not found: com.pdftron.pdf.PDFNet.setTempPath:(Ljava/lang/String;)V
at com.pdftron.pdf.PDFNet.setTempPath(Native Method)
at com.pdftron.pdf.PDFNet.initialize(SourceFile:202)
at com.enterprise.example.view.exampleView.initPDFNetLibrary(exampleView.java:873)
at com.enterprise.example.view.exampleView.init(exampleView.java:830)
at com.enterprise.example.view.exampleView.initLibrary(exampleView.java:694)
at com.enterprise.example.view.exampleView.(exampleView.java:669)
at es.clientc.firmabiometrica.example.ui.exampleActivity.onCreate(exampleActivity.java:72)
at android.app.Activity.performCreate(Activity.java:5363)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1088)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2335)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2442)
at android.app.ActivityThread.access$800(ActivityThread.java:166)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1357)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:5387)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:831)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:647)
at dalvik.system.NativeStart.main(Native Method)

`

It’s happening on a Jiayu JY-S3 device with Android 4.4.4. The app is working good on other devices which lead me to think it has to be with the architecture (the Jiayu has an ARMv8 architecture).

My Sdk seems to correctly include the .so file (as you can see in the image):

Screen Shot 2019-02-08 at 10.49.32.png

Is there any step I am missing?

Thanks for the help

Hi Jaime,

PDFTron Android SDK definitely support arm64 architecture.
However, we no longer distribute .so files by themselves.
It seems like you are using a very old version of the PDFTron SDK.

We highly recommend you to update to later versions with .aar package which contains numerous bug fixes and improvements.

Thanks.