问题描述

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

Gradle打包报错:Failed to calculate the value of task ‘:unityLibrary:compileReleaseJavaWithJavac‘相关推荐

  1. maven打包报错Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.6.1:cle

    问题记录: maven打包报错Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.6.1:cle 解决办法: 这个 ...

  2. pyinstaller打包报错 Failed to execute script ‘xxx‘ due to unhandled exception:input():lost sys.stdin

    pyinstaller打包报错 Failed to execute script 'xxx' due to unhandled exception:input():lost sys.stdin pyi ...

  3. Failed to calculate the value of task ‘:unityLibrary:compileDebugJavaWithJavac‘

    在打包时出现了如下问题: Failed to calculate the value of task ':unityLibrary:compileDebugJavaWithJavac' propert ...

  4. 解决Jekins打包报错Failed to execute goal....

    报错信息 [ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.2.5.RELEASE: ...

  5. maven打包报错 Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:3.0.2:jar

    Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:3.0.2:jar (default-jar) on project ...

  6. maven项目打包报错Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install (default

    原因:缺少maven打包插件 解决办法:在pom.xml中加入如下 <build><plugins><plugin><groupId>org.apach ...

  7. jenkins打包报错Failed to connect to repository : Command “/usr/bin/git ls-remote -h -- http://git.c5game

    Failed to connect to repository : Command "/usr/bin/git ls-remote -h -- http://git.c5game.com/c ...

  8. maven打包报错Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.5.2.RELEASE:repa

    我的是版本冲突.可以试试降低SpringBoot的版本,版本之间的依赖关系可以参照官网

  9. SpringBoot打包报错:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile

    maven的setting文件内容这块修改成自己使用的JDK版本

最新文章

  1. 同样是持久化,竟然有这么大的差别!
  2. 红米电流电压测试软件,你也是27W家族?Redmi K20 Pro充电测试
  3. scala学习笔记-Map与Tuple(10)
  4. [c++基本语法]——构造函数初始化列表
  5. 前端学习(1762):前端调试值之如何让浏览器模拟传感器数据
  6. centos不同版本修改主机名的正确方法
  7. CodeDom六--实体类生成示例
  8. android+p+华为手机,Android P六大特性曝光支持刘海屏_华为 P20_手机新闻-中关村在线...
  9. Atlassian与DevOps 系列产品选择方案介绍
  10. html背景消除重复,html – CSS背景渐变重复问题
  11. Unity判断机型iPad/iPhone
  12. 【多功能改进】基于OpenCV图像采集的人脸识别网络推流及局域网无线控制系统(将图像在URL地址上输出,可做成网络摄像头,带识别框)
  13. 我的2016——程序员年到三十,工作第四年
  14. 【UVM实战】第二章:一个简单的UVM验证平台(4)UVM 的终极大作:sequence
  15. SQL---日期时间函数
  16. FileIterator
  17. matlab图像的统计特性(均值、标准差、方差、相关系数、等高线)
  18. PS2手柄模控制ESP32控制舵机 ArduinoPWM控制
  19. 华为和华三模拟器大全
  20. 中国大学mooc慕课python答案_中国大学MOOC慕课Python编程基础答案公众号

热门文章

  1. 游戏策划入门(1)——什么样的创意是能够实现的?
  2. 手把手教你反编译小程序
  3. C# 中的委托和事件[转自http://www.cnblogs.com/jimmyzhang/archive/2007/09/23/903360.html]
  4. P02014026黄一洋————信息论问题回答
  5. linux密码是什么加密方式,Linux系统的几种加密
  6. 搭建通过路由器连接到光猫的服务器
  7. 让慢行回归城市—佛山祖庙商圈慢行系统改善工程
  8. django模型类中,为什不是user_id而是user?
  9. RenderTexture实现小地图和炫酷的传送门!(干货收藏)
  10. 部署Apache Doris