我有一个使用NDK的android project.My项目依赖mupdf。我的computer.One中有两个NDK版本是从Android下载的,另一个是从这个站点下载的:ndk下载网站.My项目依赖于从站点now.When下载的NDK,我想以genymotion方式运行我的项目,我得到了以下错误:
Information:Gradle tasks [:android:assembleDebug]
executing buildNative
executing cleanNative
:android:buildNative
Android NDK: ERROR:jni/Android.mk:gsso: LOCAL_SRC_FILES points to a missing file
Android NDK: Check that jni/libgs.so exists or that its path is correct
make.exe: Entering directory `F:/Android_Studio_Project/HelloToone/android'
F:\ADT\android-ndk-r10e\build\core\prebuilt-library.mk
Error:(45) *** Android NDK: Aborting . Stop.
make.exe: Leaving directory `F:/Android_Studio_Project/HelloToone/android'
:android:buildNative FAILED
Error:Execution failed for task ':android:buildNative'.
> Process 'command 'F:\ADT\android-ndk-r10e\ndk-build.cmd'' finished with non-zero exit value 2
Information:BUILD FAILED
Information:Total time: 1.809 secs
Information:2 errors
Information:0 warnings
Information:See complete output in console如何消除这一错误?谢谢。
发布于 2015-12-19 15:18:34
根据GhostScript 使用说明的说法,你需要把libgs.so分开。
您可以从http://ghostscript.com/~robin/libgs.so下载预构建库,也可以从所以的源代码构建它。
或者,您可以编辑build.gradle文件并从buildNative命令行中删除' SUPPORT_GPROOF=1'。
https://stackoverflow.com/questions/34366949
复制相似问题