Quantcast
Channel: Cocos中文社区 - 最新主题
Viewing all articles
Browse latest Browse all 88737

Cocos2d-js程序cmd指令打包时报错,这个错误该怎么解决……?

$
0
0

@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

阅读整个主题


Viewing all articles
Browse latest Browse all 88737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>