python G:/ace/proj.android/build_native.py all
E:\android' is not recognized as an internal or external command,
operable program or batch file.
The Selected NDK toolchain version was 4.8 !
Traceback (most recent call last):
File "G:/ace/proj.android/build_native.py", line 166, in <module>
build(opts.ndk_build_param,opts.android_platform,opts.build_mode)
File "G:/ace/proj.android/build_native.py", line 153, in build
do_build(cocos_root, ndk_root, app_android_root,ndk_build_param,sdk_root,android_platform,build_mode)
File "G:/ace/proj.android/build_native.py", line 89, in do_build
raise Exception("Build dynamic library for project [ " + app_android_root + " ] fails!")
异常:为项目[G:\ ace \ proj.android]构建动态库失败!
这是错误,所有路径都已设置且所有内容都是最新的,NDK是R9D(64位)sdk等全部更新。我不知道要解决这个问题,在Windows 7 64位上,使用eclipse和Cocos2d-x-3.1.1,所有路径都是使用setup.py设置的,并通过运行setup.py进行验证工作
谢谢
答案 0 :(得分:2)
已修复,NDK文件夹中有空格,如果您遇到此问题,请删除您使用的所有文件夹中的空格。