cocos2dx 创建工程提示警告

前端之家收集整理的这篇文章主要介绍了cocos2dx 创建工程提示警告前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

python create_project.py -project demo -package com.test.demo -language cpp

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 0xe6 in position 24: ordinal not in range(128)


在create_project.py 添加

importsys

reload(sys)

sys.setdefaultencoding('utf8')

如下图:

原文链接:https://www.f2er.com/cocos2dx/343578.html

猜你在找的Cocos2d-x相关文章