RadaeePDF.com :: Topic: Unsatisfied Link Error Native Method Not Found (1/1)
Welcome, Guest
Username: Password: Remember me

Signin/Signup with:

Here you should submit your bug reports with logcat.

TOPIC: Unsatisfied Link Error Native Method Not Found

Unsatisfied Link Error Native Method Not Found 4 years 7 months ago #969

  • rakesh.pachawa
  • rakesh.pachawa's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 1
  • Karma: 0
HI

I am trying to read a PDF from sdcard and display the pdf (no editing).
So I have followed the example included with the download.

When I run the application on device, I get java.lang.UnsatisfiedLinkError

12-13 10:06:10.597: E/AndroidRuntime(15775): java.lang.UnsatisfiedLinkError: Native method not found: com.radaee.pdf.Document.getPageWidth:(II)F
12-13 10:06:10.597: E/AndroidRuntime(15775): at com.radaee.pdf.Document.getPageWidth(Native Method)
12-13 10:06:10.597: E/AndroidRuntime(15775): at com.radaee.pdf.Document.GetPageWidth(Document.java:168)
12-13 10:06:10.597: E/AndroidRuntime(15775): at com.radaee.pdfex.PDFViewVert.vert_set_ratio(PDFViewVert.java:602)
12-13 10:06:10.597: E/AndroidRuntime(15775): at com.radaee.pdfex.PDFViewVert.viewOpen(PDFViewVert.java:391)
12-13 10:06:10.597: E/AndroidRuntime(15775): at com.radaee.pdf.PDFReader.open(PDFReader.java:99)

Can you let me know how to overcome this error?

I have added all the libs from sample to my project and in buildpath exported android dependencies as well.

Thanks.

Regards,
Rakesh Pachawa.
The administrator has disabled public write access.

Unsatisfied Link Error Native Method Not Found 4 years 7 months ago #970

  • rakesh.pachawa
  • rakesh.pachawa's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 1
  • Karma: 0
Got it fixed. I forgot to initialize loadLibrary in Global class.
The administrator has disabled public write access.
The following user(s) said Thank You: keithlorenzo
Powered by Kunena Forum