Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Here you should submit your bug reports with logcat.
  • Page:
  • 1

TOPIC:

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

  • rakesh.pachawa
  • rakesh.pachawa's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 1
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.

Please Log in or Create an account to join the conversation.

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

  • rakesh.pachawa
  • rakesh.pachawa's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 1
Got it fixed. I forgot to initialize loadLibrary in Global class.
The following user(s) said Thank You: keithlorenzo

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum