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')
如下图: