Traceback (most recent call last):
File "./create_project.py",line 209,in <module>
processPlatformProjects(platform)
File "./create_project.py",line 161,in processPlatformProjects
if (os.path.exists(proj_path + src) == True):
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe8 in position 34: ordinal not in range(128)
成功创建
zhangqingdeiMac:project-creator tarena$ ./create_project.py -project MyGame -package com.MyCompany.AwesomeGame -language cpp
Error:/Users/tarena/LY/cocos2d-x/cocos2d/cocos2d-x-2.2.5/tools/project-creator/../../projects/MyGame folder is already existing
Please remove the old project or choose a new PROJECT_NAME in -project parameter
zhangqingdeiMac:project-creator tarena$ ./create_project.py -project MyFeiJi -package com.tarena.feiji -language cpp
proj.ios: Done!
proj.android: Done!
proj.win32: Done!
proj.winrt: Done!
proj.wp8: Done!
proj.mac: Done!
proj.blackberry: Done!
proj.linux: Done!
proj.marmalade: Done!
proj.tizen: Done!
proj.wp8-xaml: Done!
New project has been created in this path: /Users/tarena/LY/cocos2d-x/cocos2d/cocos2d-x-2.2.5/projects/MyFeiJi
Have Fun!
zhangqingdeiMac:project-creator tarena$
原文链接:https://www.f2er.com/cocos2dx/344856.html