How to integrate mupdf library?

2019-07-23 08:41发布

问题:

I try to build the library mupdf, using the following sequence https://stackoverflow.com/a/12279638/680267

I can not run command:

javah -jni -classpath bin/classes/ -d jni/ com.artifex.mupdf.MuPDFActivity

Error: cannot access android.app.Activity class file for
android.app.Activity not found

I tried to specify the path to the folder with the android-sdk:

'/cygdrive/c/Program Files/Java/JDK7/bin/javah.exe' -jni -classpath /cygdrive/c/Android/platforms/android-8/android.jar;/cygdrive/c/Users/Alexey/Documents/GitHub/mupdf/android/bin/classes -d jni/ com.artifex.mupdf.MuPDFActivit

Error: no classes specified
-bash: /cygdrive/c/Users/Alexey/Documents/GitHub/mupdf/android/bin/classes: a directory

How to run this command?