Error build_native.py with error: create dynamic library for project .. fails

I have already installed cocos2d-x 3.0 and will try to create an Android version, but when I run. / build _native.py, it had an error with an error

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! 

I read line 89 in the build_native.py file

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

But I do not understand the os.system (command) command in python, so someone can help me fix this error.

+6
source share

Source: https://habr.com/ru/post/981644/


All Articles