博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

gradle build error “archive contains more than 65535 entries”

Posted on 2016-06-27 15:46  钟悍  阅读(2186)  评论(1编辑  收藏  举报

15:42:18.079 [ERROR] [org.gradle.BuildExceptionReporter]
15:42:18.081 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
15:42:18.082 [ERROR] [org.gradle.BuildExceptionReporter]
15:42:18.082 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
15:42:18.082 [ERROR] [org.gradle.BuildExceptionReporter] Execution failed for task ':jar'.
15:42:18.082 [ERROR] [org.gradle.BuildExceptionReporter] > archive contains more than 65535 entries.
15:42:18.082 [ERROR] [org.gradle.BuildExceptionReporter]
15:42:18.082 [ERROR] [org.gradle.BuildExceptionReporter] To build this archive, please enable the zip64 extension.
15:42:18.083 [ERROR] [org.gradle.BuildExceptionReporter] See: http://gradle.org/docs/2.0/dsl/org.gradle.api.tasks.bundling.Zip.html#org.gradle.api.tasks.bundling.Zip:zip64
15:42:18.083 [ERROR] [org.gradle.BuildExceptionReporter]
15:42:18.083 [ERROR] [org.gradle.BuildExceptionReporter] * Try:
15:42:18.083 [ERROR] [org.gradle.BuildExceptionReporter] Run with --stacktrace option to get the stack trace.