An Exception is thrown after building a project that uses Hilt. It only works when the project doesn't have any caches.
Exception:
Caused by: org.gradle.api.UncheckedIOException: java.util.zip.ZipException: duplicate entry: dagger/hilt/internal/aggregatedroot/codegen/_com_example_lsparanoidtest_App.class
at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:62)
at org.gradle.internal.UncheckedExceptio
n.throwAsUncheckedException(UncheckedException.java:41)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:128)
Here is a demo project : lsparanoidDemo.zip
Do you have any Solution for this Issue?
An Exception is thrown after building a project that uses Hilt. It only works when the project doesn't have any caches.
Exception: Caused by: org.gradle.api.UncheckedIOException: java.util.zip.ZipException: duplicate entry: dagger/hilt/internal/aggregatedroot/codegen/_com_example_lsparanoidtest_App.class at org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:62) at org.gradle.internal.UncheckedExceptio n.throwAsUncheckedException(UncheckedException.java:41) at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:128)
Here is a demo project : lsparanoidDemo.zip Do you have any Solution for this Issue?