Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Here you should submit your bug reports with logcat.

Unsatisfied Link Error Native Method Not Found

More
IP: 192.168.0.70 13 years 3 months ago #969 by rakesh.pachawa
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.
More
IP: 192.168.0.70 13 years 3 months ago #970 by rakesh.pachawa
Got it fixed. I forgot to initialize loadLibrary in Global class.
Time to create page: 0.392 seconds
Powered by Kunena Forum