如何修复Gradle构建失败:初始化脚本编译错误问题
Gradle构建报错求助
我是第一次尝试使用Gradle,若有操作不当之处还请见谅。昨日我尝试构建Gradle项目时出现报错,具体报错信息如下:
Starting Gradle Daemon... Gradle Daemon started in 1 s 611 ms FAILURE: Build failed with an exception. * Where: Initialization script 'C:\Users\myjay\AppData\Local\Temp\Main_main__.gradle' line: 6 * What went wrong: Could not compile initialization script 'C:\Users\myjay\AppData\Local\Temp\Main_main__.gradle'. > startup failed: initialization script 'C:\Users\myjay\AppData\Local\Temp\Main_main__.gradle': 6: Unexpected character: '\'' @ line 6, column 67. X's Lab/git/NameCheckerV2/Code') ^ 1 error * 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 BUILD FAILED in 3s 1:00:25 AM: Execution finished ':Main.main()'.
另外,若需要查看项目以排查问题,可访问我的项目仓库:我的项目,希望能得到大家的帮助🙏🙏
内容的提问来源于stack exchange,提问作者RTX
相关产品推荐
相关产品推荐

