cocos2dx android打包失败 报错

running command : cocos luacompile -s D:\Android\cocosProject\newpro\MyLuaGame\frameworks\runtime-src\proj.android\app/assets/src -d D:\Android\cocosProject\newpro\MyLuaGame\frameworks\runtime-src\proj.android\app/assets/src

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not create task ‘:MyLuaGame:copyReleaseResourcesToAssets’.

A problem occurred starting process ‘command ‘cocos.bat’’

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

CONFIGURE FAILED in 1s
CreateProcess error=2, 系统找不到指定的文件。

这里是 setting.gradle
include ‘:MyLuaGame’
project(’:MyLuaGame’).projectDir = new File(settingsDir, ‘app’)
这两行代码注释掉就不会报错
请问下是怎么回事

资源的路径问题吧,你的路径可能含有中文或者空格啥的