在打包时出现了如下问题:
Failed to calculate the value of task ':unityLibrary:compileDebugJavaWithJavac' property 'options.generatedSourceOutputDirectory'
这个是由于 Gradle 版本导致的,Gradle 7.x 及以上版本进行了更新,将 Gradle 版本下调至 6.x 版本即可解决。

Failed to calculate the value of task ‘:unityLibrary:compileDebugJavaWithJavac‘
最新推荐文章于 2024-03-15 20:26:04 发布
在使用最新Gradle版本7.x时遇到了编译问题,具体表现为Failedtocalculatethevalueoftask:unityLibrary:compileDebugJavaWithJavacpropertyoptions.generatedSourceOutputDirectory。文章建议将Gradle版本回退到6.x,以此来解决这个问题。
5657

被折叠的 条评论
为什么被折叠?



