博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
【Jenkins】Android build failed:build pending,Why did the Gradle Daemon die?
阅读量:7219 次
发布时间:2019-06-29

本文共 838 字,大约阅读时间需要 2 分钟。

1、问题现象

1.1、

image2017-11-30%2014%3A20%3A45.png?versi

1.2、useNewCruncher has been deprecated. It will be removed in a future version of the gradle plugin. New cruncher is now always enabled.

Incremental java compilation is an incubating feature.

image2017-11-30%2014%3A22%3A15.png?versi

2、问题分析&定位

从上诉两个log日志信息来看,有两种可能:

1、gradle 在构建过程中,Jenkins slave agent 的daemon异常,导致slave offline,从而build failed

2、引入了其他的Java编译方式,及一些被deprecated的api

那么我就依据初步分析的这两个可能问题去Google

3、问题解决

3.1、依据Google中各路大神对第二个问题的解析,并根据解决方案进行尝试,均无功而返。

3.2、参考Stack Overflow中对:“”的文章中,大神是这样解答的:

Gradle build daemon disappeared unexpectedly most frequently occurs when something else kills the long-running Gradle Daemon process and the client process (the Daemon uses local TCP connections to communicate) tries to send a message and gets no response.

For example, running gradle --stop or killall java while a build is occurring will reproduce this problem.

附文章链接:

转载地址:http://ygxym.baihongyu.com/

你可能感兴趣的文章
python 发送邮件
查看>>
在凡客四个月的工作总结
查看>>
Qt颜色下拉框
查看>>
31、springboot与任务
查看>>
【转】 一个fork的面试题
查看>>
20131108
查看>>
django.http.request中HttpRequest对象的一些属性与方法
查看>>
英文对应解释
查看>>
Robotics ToolBox机械臂仿真
查看>>
linux添加环境变量
查看>>
【uva 1312】Cricket Field(算法效率--技巧枚举)
查看>>
VS2017 MVC项目,新建控制器提示未能加载文件或程序集“Dapper.Contrib解决方法
查看>>
【ora-err】ORA-03113: end-of-file on communication channel
查看>>
00.索引-综述
查看>>
strcpy
查看>>
AC3 Rematrix
查看>>
C#之Windows Form Application与attribute
查看>>
函数与指针分析实例
查看>>
爬虫:pycurl模块的使用说明
查看>>
Halcon算子翻译——try
查看>>