D:\myselfworkspace\android\mupdfTemp\mupdf-android\platform\android\viewer>ndk-build
Android NDK: android-9 is unsupported. Using minimum supported version android-16.
Android NDK: WARNING: APP_PLATFORM android-16 is higher than android:minSdkVersion 8 in ./AndroidManifest.xml. NDK binaries will not be compatible with devices older than android-16. See https://android.googlesource.com/platform/ndk/+/master/docs/user/common_problems.md for more information.
Android NDK: WARNING:jni/Android.mk:mupdfcore: LOCAL_LDLIBS is always ignored for static libraries
Android NDK: WARNING:jni/Android.mk:mupdfcore: LOCAL_LDLIBS is always ignored for static libraries
Android NDK: WARNING:jni/Android.mk:mupdfcore: LOCAL_LDLIBS is always ignored for static libraries
[x86] Compile : mupdf_java32 <= mupdf.c
In file included from jni/mupdf.c:16:
../../../include\mupdf/pdf.h:10:10: fatal error: 'mupdf/pdf/name-table.h' file not found
D:\myselfworkspace\android\mupdfTemp\mupdf-android\platform\android\viewer>ndk-build Android NDK: android-9 is unsupported. Using minimum supported version android-16. Android NDK: WARNING: APP_PLATFORM android-16 is higher than android:minSdkVersion 8 in ./AndroidManifest.xml. NDK binaries will not be compatible with devices older than android-16. See https://android.googlesource.com/platform/ndk/+/master/docs/user/common_problems.md for more information. Android NDK: WARNING:jni/Android.mk:mupdfcore: LOCAL_LDLIBS is always ignored for static libraries Android NDK: WARNING:jni/Android.mk:mupdfcore: LOCAL_LDLIBS is always ignored for static libraries Android NDK: WARNING:jni/Android.mk:mupdfcore: LOCAL_LDLIBS is always ignored for static libraries [x86] Compile : mupdf_java32 <= mupdf.c In file included from jni/mupdf.c:16: ../../../include\mupdf/pdf.h:10:10: fatal error: 'mupdf/pdf/name-table.h' file not found
include "mupdf/pdf/name-table.h"
1 error generated.
我看对应路径下确实没有这个文件,我想请问一下是不是我的打包方式有问题,我直接进入到viewer目录下执行的ndk-build。如果有问题的话,请问下android如何打包so勒?万分感谢