执行“python build_native.py”命令报错:
正在执行 ndk-build...
NDK 编译模式:debug
NDK_TOOLCHAIN_VERSION: 4.9
NDK 编译失败!
Traceback (most recent call last):
File "build_native.py", line 43, in <module>
build(opts.build_mode)
File "build_native.py", line 28, in build
raise Exception("Build dynamic library for project [ " + app_android_root + " ] fails!")
Exception: Build dynamic library for project [ F:DocumentsCocosCocosProjectsCocosProjectproj.android../ ] fails!
解决方法:
环境变量中ndk不能包含中文。