n2n1 发表于 2022-7-10 18:43:20

网狐棋牌源码编译出错IOError: [Errno 2] No such file or directory

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: 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有的可能不一样

**** Hidden Message *****


175577515 发表于 2022-10-19 21:35:13


学习学习学习学习学习学习学习学习学习学习学习学习

feifei423423 发表于 2023-3-17 00:29:37

:lol:lol66666666

sissrz 发表于 2023-4-19 18:44:56

55555555555

ainilikai 发表于 2023-6-17 10:28:24

看一下问题66666666666666

zls123456 发表于 2023-9-1 16:11:04

学习学习学习学习学习学习学习

zls123456 发表于 2023-9-1 16:11:39

学习学习学习学习学习学习
页: [1]
查看完整版本: 网狐棋牌源码编译出错IOError: [Errno 2] No such file or directory