近两天在自己本机上使用Jenkins构建Android项目报了一个错误
15:39:05.511 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception.
15:39:05.512 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
15:39:05.512 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:
15:39:05.512 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Execution failed for task ':app:mergeReleaseResources'.
15:39:05.512 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Error: Some file crunching failed, see logs for details
有些网友说是图片问题
http://www.cnblogs.com/why168888/p/5925756.html
但我的不是,因为我用Android Studio和cmd->gradlew命令构建都是可以成功的
后来又看到说是build-cache路径过长的问题,查看下构建日志&