0

启用 minify 并出现此错误时,动态功能模块的 Gradle 构建失败

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':pal-phonepe-application:mergeInsidePhonePeStageInternalClasses'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > Too many entries (66530)

如果禁用缩小它,它工作正常..

4

1 回答 1

0

终于找到了答案。android构建工具在内部使用zipflinger它来打包APK。

解决方案是迁移到 Android Gradle Plugin v4.0.0+。它对我有用。

于 2021-03-08T11:18:05.293 回答