执行 com.android.build.gradle.internal.tasks.Workers$ActionFacade 时出现故障 条目过多 (66530)

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade Too many entries (66530)

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

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)

如果禁用 minify 则工作正常..

终于找到答案了。 zipflinger 的问题由 android 构建工具内部使用来打包 APK。

解决方案是移动到 Android Gradle 插件 v4.0.0+。 它对我有用。