rajeshpatil0707 / apv

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

Couldn't load pdfview2 #66

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. download the newest source (apv-0.3.1dev9 source)
2. import the Project in Eclipse
3. run the build script (./build-native.sh), everythings compile fine
4. create a Android 2.3.3 Emulator
5. run the App on the Emulator
6. select a PDF from my download folder on the emulator
7. the App crashes with: http://pastebin.com/4wXuGMb0

What is the expected output? What do you see instead?
I expected that the App opens the PDF, but the App crash with these errors 
http://pastebin.com/4wXuGMb0

What version of the product are you using? On what operating system?
apv-0.3.1dev9 source

Please provide any additional information below.
build and compile on a Mac 10.6.8 with Eclipse 3.6.2 and Android SDK 2.3.3 and 
3.2 .
The libpdfview2.so is loacated at ./obj/local/armeabi

Original issue reported on code.google.com by jahnc...@gmail.com on 5 Oct 2011 at 11:34

GoogleCodeExporter commented 9 years ago
Does your apk file contain the library?  You can unzip it to check.

Original comment by arpruss on 5 Oct 2011 at 2:46

GoogleCodeExporter commented 9 years ago
yes the library is in the apk!

http://twitpic.com/6vj1jh

Original comment by jahnc...@gmail.com on 5 Oct 2011 at 2:52

GoogleCodeExporter commented 9 years ago
I have the same problem...Please help!

Original comment by LandauSevere on 29 Nov 2011 at 6:49

GoogleCodeExporter commented 9 years ago
I have also compiled the libraries, but that didn't help. I also have those 
errors. Please help!

Original comment by eragu...@gmail.com on 4 Dec 2011 at 6:30

GoogleCodeExporter commented 9 years ago
I don't know what is happening.  The error message says the library isn't there 
in the apk.  To confirm, in your project dir you should have:
  libs/armeabi/libpdfview2.so
  libs/armeabi-v7a/libpdfview2.so

You may also want to refresh Eclipse's view of these directories.  Click on 
"libs" in the left pane of Eclipse and press F5.

Original comment by arpruss on 5 Dec 2011 at 12:10

GoogleCodeExporter commented 9 years ago
I wanna know how to compile the libpdfview2.so,I can't find the fitz.h and the 
mupdf.h.
Please help!

Original comment by Xanxus...@gmail.com on 11 Mar 2012 at 2:11

GoogleCodeExporter commented 9 years ago
i am also having the same problem that the how to create so file 
code.google.com/p/apv/wiki/Building display all information like" Running 
scripts/build_native.sh will then copy the files from these tarballs" but i 
don't know what is "tarballs", and how many files i have to put in jni 
folder(or it genreted by the script"build-native.sh"). and  how many 
files(lib's) are needed for run build-native.sh....    

Original comment by you...@gmail.com on 1 Aug 2012 at 10:17

GoogleCodeExporter commented 9 years ago
I had the same issue. However, I made a few mistakes.

First off, I had not downloaded the NDK.  Once you have done this, you can run 
the ndk-build command, which is at the end of build-native.sh
The other thing I did, which finally made it work as advertised, was to set up 
automatic NDK builds, which you can find out how to do here:  
http://mobilepearls.com/labs/ndk-builder-in-eclipse/

Hope this helps.

Original comment by param3...@googlemail.com on 7 Oct 2012 at 7:57

GoogleCodeExporter commented 9 years ago

Original comment by mpietrzak on 7 Oct 2012 at 10:02