BUILD SUCCESSFUL in 15s
27 actionable tasks: 3 executed, 24 up-to-date
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_c
ompile\project_compile.py", line 1544, in run
self.build_android()
File "C:\Cocos\Cocos2d-x\cocos2d-x-3.10\tools\cocos2d-console\plugins\plugin_c
ompile\project_compile.py", line 527, in build_android
self.apk_path = builder.do_build_apk(build_mode, self._no_apk, output_dir, s
elf._custom_step_args, self)
File "C:\Cocos\Cocos2d-x\cocos2d-x-3.10\tools\cocos2d-console\plugins\plugin_c
ompile\build_android.py", line 571, in do_build_apk
shutil.copy(gen_apk_path, output_dir)
File "D:\Python27\lib\shutil.py", line 119, in copy
copyfile(src, dst)
File "D:\Python27\lib\shutil.py", line 82, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: 'E:\\client\\frameworks\\runtime-s
rc\\proj.android-studio\\app/build/outputs/apk\\N2n1Game-release.apk'
*********************藏宝库28xin.com 棋牌移动端编译出错*********************
在windows中 使用gradle 命令编译 生成APK目录存在差异默认生成是有release 目录的 解决方法有很多种
这里我们给一种最简单的方法:
到工程目录 大概 frameworks\runtime-src\proj.android\app 有的可能不一样
|