Traceback (most recent call last):
File "C:\Cocos\Cocos2d-x\cocos2d-x-3.10\tools\cocos2d-console\bin\/cocos.py", line 929,
in <module>
run_plugin(command, argv, plugins)
File "C:\Cocos\Cocos2d-x\cocos2d-x-3.10\tools\cocos2d-console\bin\/cocos.py", line 854,
in run_plugin
plugin.run(argv, dependencies_objects)
File "C:\Cocos\Cocos2d-x\cocos2d-x-3.10\tools\cocos2d-console\plugins\plugin_compile\pro
ject_compile.py", line 1544, in run
self.build_android()
File "C:\Cocos\Cocos2d-x\cocos2d-x-3.10\tools\cocos2d-console\plugins\plugin_compile\pro
ject_compile.py", line 527, in build_android
self.apk_path = builder.do_build_apk(build_mode, self._no_apk, output_dir, self._custo
m_step_args, self)
File "C:\Cocos\Cocos2d-x\cocos2d-x-3.10\tools\cocos2d-console\plugins\plugin_compile\bui
ld_android.py", line 545, in do_build_apk
self._copy_resources(custom_step_args, assets_dir)
File "C:\Cocos\Cocos2d-x\cocos2d-x-3.10\tools\cocos2d-console\plugins\plugin_compile\bui
ld_android.py", line 651, in _copy_resources
cocos.copy_files_with_config(cfg, app_android_root, assets_dir)
File "C:\Cocos\Cocos2d-x\cocos2d-x-3.10\tools\cocos2d-console\bin\cocos.py", line 677, i
n copy_files_with_config
src_dir = config["from"]
KeyError: 'from'
*********************藏宝库28xin.com 微星移动端编译出错*********************
请按任意键继续. . .
解决方法:
|