sethumadhavan / apv

Automatically exported from code.google.com/p/apv
GNU General Public License v3.0
0 stars 0 forks source link

java.lang.UnsatisfiedLinkError: parseFile #44

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by ersanjay...@gmail.com on 15 Jul 2011 at 5:24

GoogleCodeExporter commented 8 years ago
Could you tell us under what circumstances this error occurs, and if it occurs 
with the latest 0.3.0 pre8 version.

Original comment by arpruss on 31 Jul 2011 at 10:43

GoogleCodeExporter commented 8 years ago
This is very likely that the libpdfview2.so file is missing. You have to 
compile by using ndk-build in cygwin. But before that make sure you ran "sh 
build-native.sh" which located in scripts folder. 

Original comment by Ncjle...@gmail.com on 7 Aug 2011 at 1:44

GoogleCodeExporter commented 8 years ago
I also have UnsatisfiedLinkError: parseFile, 
when I use 'PDF pdf = new PDF("afile.pdf")'. 
Error occurs in this.parseFile(file.getPath(), box);
I'm sure that libpdfview2.so file was setup-ed.
I'm using android 2.3.1 emulator.
Any suggestion for me?

Original comment by tulm00...@gmail.com on 24 Aug 2011 at 8:47

GoogleCodeExporter commented 8 years ago
Is this with a locally modified version of APV or a full build of the current 
version in the repository?

Original comment by arpruss on 15 Sep 2011 at 1:45

GoogleCodeExporter commented 8 years ago
I had the same issue with the project where I embed APV inside my own Android 
app. The solution is simple. The PDF.java has been moved from cx.hell.android 
to cx.hell.android.lib. Please update the Java source tree also correctly. The 
issue for me was the native C method in pdfview2.c was
JNIEXPORT void JNICALL
Java_cx_hell_android_lib_pdf_PDF_parseFile(

while the Java source did not reflect the addition of "lib".

Regards, Geeth.

Original comment by ge...@gogreenpost.com on 1 Jan 2012 at 12:49