linux服务器使用Jenkins+gradle+git打apk包,遇到的错误Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed),如图所示

问题产生原因:linux服务器可用内存太小,Android项目编译时恰恰又比较耗内存,所以在编译中内存不足,gradle报错

查看内存命令:free -lh

 

posted on 2018-07-11 18:32  rosa2015  阅读(1048)  评论(0编辑  收藏  举报