Cocos打包发布时编译出现错误编译模式:release 使用 Android Studio 工程:D:\CocosProgram\WeChatLogin\build\jsb-link\frameworks\runtime-src\ 正在生成 apk 文件… 正在执行:’“D:\CocosProgram\WeChatLogin\build\jsb-link\frameworks\runtime-src\\gradlew.bat” --parallel --info assembleRelease’ Initialized native services in: C:\Users\WZZ.gradle\native FAILURE: Build failed with an exception. * What went wrong: Unable to get mutable Windows environment variable map * Try: Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights. * Get more help at 执行命令出错,返回值:1。