This is how I succeeded in MuPDF.
download ndk and extract. download cygwin and extract. upload mupdf files and third party files.
source extraction and third part extract file add here.
go to the project directory using cygwin.
open project in eclipse and add this to application.mk
NDK_TOOLCHAIN_VERSION=4.4.3
create a header file using this command in cygwin
javah -jni -classpath bin/classes/ -d jni/ com.artifex.mupdf.MuPDFActivity
use cd .. and go back to the MupdfSource extraction directory and run
make
.Use error appears
make NOX11=yes
go to the project directory (android folder) in cygwin and
ndk-build
all you get is a .so file
run the project.
Sorry for the bad english.
Thushara Sep 05 2018-12-12T00: 00Z
source share