@1112501 写道:
使用cocos compile -p win32 -m release
cmd输出如下:
C:\Users\Administrator\Desktop\MyCocosProject\0809Text>cocos compile -p win32 -m release
Traceback (most recent call last):
File "D:\Cocos\Cocos2d-x\cocos2d-x-3.10\tools\cocos2d-console\bin\/cocos.py", line 904, in
if not checkpython_version():
File "D:\Cocos\Cocos2d-x\cocos2d-x-3.10\tools\cocos2d-console\bin\/cocos.py", line 868, in checkpython_version
print(MultiLanguage.get_string('COCOS_PYTHON_VERSION_TIP_FMT') % (major_ver, minor_ver))
File "D:\Cocos\Cocos2d-x\cocos2d-x-3.10\tools\cocos2d-console\bin\MultiLanguage.py", line 52, in get_string
fmt = cls.get_instance().get_current_string(key)
File "D:\Cocos\Cocos2d-x\cocos2d-x-3.10\tools\cocos2d-console\bin\MultiLanguage.py", line 46, in get_instance
cls.instance = MultiLanguage()
File "D:\Cocos\Cocos2d-x\cocos2d-x-3.10\tools\cocos2d-console\bin\MultiLanguage.py", line 97, in init
self.cfg_info = json.load(f, encoding='utf-8')
File "C:\Python34\lib\json__init__.py", line 265, in load
return loads(fp.read(),
UnicodeDecodeError: 'gbk' codec can't decode byte 0x9a in position 29172: illegal multibyte sequence
C:\Users\Administrator\Desktop\MyCocosProject\0809Text>不知道是哪里出的错误……这个0809Text是新创建的空项目
帖子: 3
参与者: 1