为cocos2dx游戏开发设置和创建项目环境

时间:2014-01-12 08:48:31

标签: android cygwin native cocos2d-x

我下载了文档中给出的文件和设置 但每当我尝试创建一个项目时都会出现这样的错误:

我在cmd上运行的命令是:

E:\cocos2d-x-2.2\tools\project-creator>python ./create_project.py -project D -package asd -language cpp

我得到的错误是:

Traceback (most recent call last):
File "./create_project.py", line 195, in <module>
processPlatformProjects(platform)
File "./create_project.py", line 161, in processPlatformProjects
replaceString(proj_path + dst, context["src_package_name"],context["dst_package_name"])
File "./create_project.py", line 111, in replaceString
if src_string in line:
TypeError: Type str doesn't support the buffer API

0 个答案:

没有答案