gradle build error “archive contains more than 65535 entries”

Posted 钟悍

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了gradle build error “archive contains more than 65535 entries”相关的知识,希望对你有一定的参考价值。

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.

以上是关于gradle build error “archive contains more than 65535 entries”的主要内容,如果未能解决你的问题,请参考以下文章

Gradle build Error 编译报错 ,不影响程序运行?

Android gradle build Error:(9, 0) Gradle DSL method not found: 'compile()'。

Gradle Build Error找不到supportlibrary

如何解决flutter gradle build error?C:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 991

Error:Could not find com.android.tools.build:gradle:2.14.1.

Android gradle项目build出问题,求教各位大神