2019-07-18 Updated
Version : 3.17.2
Build Error
Traceback (most recent call last):
File "D:\Downloads\cocos2d-js\tools\cocos2d-console\bin\/cocos.py", line 1081, in <module>
run_plugin(command, argv, plugins)
File "D:\Downloads\cocos2d-js\tools\cocos2d-console\bin\/cocos.py", line 970, in run_plugin
plugin.run(argv, dependencies_objects)
File "D:\Downloads\cocos2d-js\tools\cocos2d-console\plugins\plugin_compile\project_compile.py", line 1508, in run
self.parse_args(argv)
File "D:\Downloads\cocos2d-js\tools\cocos2d-console\bin\cocos.py", line 615, in parse_args
self._add_custom_options(parser)
File "D:\Downloads\cocos2d-js\tools\cocos2d-console\plugins\plugin_compile\project_compile.py", line 74, in _add_custom_options
help=MultiLanguage.get_string('COMPILE_ARG_BUILD_TYPE'))
File "D:\Downloads\cocos2d-js\tools\cocos2d-console\bin\MultiLanguage.py", line 52, in get_string
fmt = cls.get_instance().get_current_string(key)
File "D:\Downloads\cocos2d-js\tools\cocos2d-console\bin\MultiLanguage.py", line 158, in get_current_string
ret = ret.encode(self.encoding)
UnicodeEncodeError: 'cp950' codec can't encode character u'\u7f16' in position 84: illegal multibyte sequence
Solution
Find the file string.json in the subfolder tools\cocos2d-console\bin whithin cocos2d-x-3.17.2.zip unzip folder and delete "zh" and "zh-tr" json part.