build_native.py失败并出现错误:为项目构建动态库..失败

时间:2015-01-28 06:41:43

标签: android python cocos2d-x

我已经安装了cocos2d-x 3.0并尝试构建一个Android版本但是当我运行./build_native.py时,它失败并出现错误

File "./build_native.py", line 89, in do_build
raise Exception("Build dynamic library for project [ " + app_android_root + " ] fails!")
Exception: Build dynamic library for project [ /Users/hoangha/Desktop/Enigma/cocos2d-x-3.0/projects/2048-enhanced-version/source/proj.android ] fails!

我已阅读build_native.py

中的第89行
if os.system(command) != 0:
    raise Exception("Build dynamic library for project [ " + app_android_root + " ] fails!")

但是我不理解python中的命令os.system(command),所以任何人都可以帮我解决这个错误。

0 个答案:

没有答案