问题描述
Unity项目使用Gradle打包时报如下错误:
Failed to calculate the value of task ':unityLibrary:compileReleaseJavaWithJavac' property 'options.generatedSourceOutputDirectory'.
- Unity版本:2020.3.17f1;
- Gradle版本:7.6;
解决方案:
来自Unity官方的解决方案:更换Gradle版本为6.7或者6.8即可
原文链接:Troubleshooting Android integrations
来源地址:https://blog.csdn.net/qq_36958170/article/details/128373106