求教各位大神,这个Ndk Build Failed是怎么回事
1个回答
展开全部
R10报错情况改用R9D:
Updated project.properties
Updated local.properties
Updated file F:\COCOS2DPrac\Prac_005_Parkour_2\frameworks\runtime-src\proj.android\proguard-project.txt
It seems that there are sub-projects. If you want to update them
please use the --subprojects parameter.
Updated project.properties
Updated local.properties
Updated file F:\COCOS2DPrac\Prac_005_Parkour_2\frameworks\runtime-src\proj.android\..\..\js-bindings\cocos2d-x\cocos\platform\android\java\proguard-project.txt
Android NDK: WARNING: APP_PLATFORM android-19 is larger than android:minSdkVersion 9 in ./AndroidManifest.xml
make.exe: Entering directory `F:/COCOS2DPrac/Prac_005_Parkour_2/frameworks/runtime-src/proj.android'
make.exe: *** No rule to make target `/Users/slick/Desktop/CocosSDK/Practices/Prac_002/frameworks/runtime-src/proj.android/../../js-bindings/bindings/auto/jsb_cocos2dx_auto.cpp', needed by `obj/local/armeabi/objs/cocos_jsb_static/auto/jsb_cocos2dx_auto.o'. Stop.
make.exe: *** Waiting for unfinished jobs....
make.exe: Leaving directory `F:/COCOS2DPrac/Prac_005_Parkour_2/frameworks/runtime-src/proj.android'
Running command: compile
Building mode: release
running: '"F:\adtbundle\sdk\tools\android" update project -t android-19 -p F:\COCOS2DPrac\Prac_005_Parkour_2\frameworks\runtime-src\proj.android'
running: '"F:\adtbundle\sdk\tools\android" update lib-project -p F:\COCOS2DPrac\Prac_005_Parkour_2\frameworks\runtime-src\proj.android\../../js-bindings/cocos2d-x/cocos/platform/android/java -t android-19'
building native
NDK build mode: release
running: 'F:\AndroidNDK\ndk-build -C F:\COCOS2DPrac\Prac_005_Parkour_2\frameworks\runtime-src\proj.android -j3 NDK_MODULE_PATH=F:\COCOS2DPrac\Prac_005_Parkour_2\frameworks\runtime-src\proj.android\../../js-bindings;F:\COCOS2DPrac\Prac_005_Parkour_2\frameworks\runtime-src\proj.android\../../js-bindings/cocos2d-x;F:\COCOS2DPrac\Prac_005_Parkour_2\frameworks\runtime-src\proj.android\../../js-bindings/cocos2d-x/cocos;F:\COCOS2DPrac\Prac_005_Parkour_2\frameworks\runtime-src\proj.android\../../js-bindings/cocos2d-x/external'
Ndk build failed!
make: *** 没规则创建obj/local/armeabi/objs/helloNDK/com_ndk1_helloNDK.o 需要目标jni/com_ndk1_helloNDK.c 停止弟刚块网找资料弄久都没功.MK文件拷贝例程改ndk-build例程自新建工程编译工程建NDK安装路径sample目录求神指导啊激尽
Updated project.properties
Updated local.properties
Updated file F:\COCOS2DPrac\Prac_005_Parkour_2\frameworks\runtime-src\proj.android\proguard-project.txt
It seems that there are sub-projects. If you want to update them
please use the --subprojects parameter.
Updated project.properties
Updated local.properties
Updated file F:\COCOS2DPrac\Prac_005_Parkour_2\frameworks\runtime-src\proj.android\..\..\js-bindings\cocos2d-x\cocos\platform\android\java\proguard-project.txt
Android NDK: WARNING: APP_PLATFORM android-19 is larger than android:minSdkVersion 9 in ./AndroidManifest.xml
make.exe: Entering directory `F:/COCOS2DPrac/Prac_005_Parkour_2/frameworks/runtime-src/proj.android'
make.exe: *** No rule to make target `/Users/slick/Desktop/CocosSDK/Practices/Prac_002/frameworks/runtime-src/proj.android/../../js-bindings/bindings/auto/jsb_cocos2dx_auto.cpp', needed by `obj/local/armeabi/objs/cocos_jsb_static/auto/jsb_cocos2dx_auto.o'. Stop.
make.exe: *** Waiting for unfinished jobs....
make.exe: Leaving directory `F:/COCOS2DPrac/Prac_005_Parkour_2/frameworks/runtime-src/proj.android'
Running command: compile
Building mode: release
running: '"F:\adtbundle\sdk\tools\android" update project -t android-19 -p F:\COCOS2DPrac\Prac_005_Parkour_2\frameworks\runtime-src\proj.android'
running: '"F:\adtbundle\sdk\tools\android" update lib-project -p F:\COCOS2DPrac\Prac_005_Parkour_2\frameworks\runtime-src\proj.android\../../js-bindings/cocos2d-x/cocos/platform/android/java -t android-19'
building native
NDK build mode: release
running: 'F:\AndroidNDK\ndk-build -C F:\COCOS2DPrac\Prac_005_Parkour_2\frameworks\runtime-src\proj.android -j3 NDK_MODULE_PATH=F:\COCOS2DPrac\Prac_005_Parkour_2\frameworks\runtime-src\proj.android\../../js-bindings;F:\COCOS2DPrac\Prac_005_Parkour_2\frameworks\runtime-src\proj.android\../../js-bindings/cocos2d-x;F:\COCOS2DPrac\Prac_005_Parkour_2\frameworks\runtime-src\proj.android\../../js-bindings/cocos2d-x/cocos;F:\COCOS2DPrac\Prac_005_Parkour_2\frameworks\runtime-src\proj.android\../../js-bindings/cocos2d-x/external'
Ndk build failed!
make: *** 没规则创建obj/local/armeabi/objs/helloNDK/com_ndk1_helloNDK.o 需要目标jni/com_ndk1_helloNDK.c 停止弟刚块网找资料弄久都没功.MK文件拷贝例程改ndk-build例程自新建工程编译工程建NDK安装路径sample目录求神指导啊激尽
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询