LSParanoid
LSParanoid copied to clipboard
java.util.zip.ZipException: duplicate entry Error with Dagger Hilt.
Hi, when i build project have no error but when i run the project that using dagger hilt get error on below.
Task :app:lsparanoidDebug FAILED Execution failed for task ':app:lsparanoidDebug'. java.util.zip.ZipException: duplicate entry: dagger/hilt/internal/aggregatedroot/codegen/_com_tom_Application.class
Do you have any Solution for this Issue?
any update?
Did you manage to solve it?
Same Issue Any updates?
hi @nawafab @edyknd @normanaspx please install to Android Studio Koala. Then try again. I didn't get any error.
In my case I have to use gradle 8.5 (error if gradle 8.4)
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
same here
Any updates? @saleho27 @developersancho
Same Issue, Any updates?
I ran into the same problem.
java.util.zip.ZipException: duplicate entry: module-info.class
it happens when I set includDependencies = true
In my app-level build.gradle.kts, I had the following excludes:
resources.excludes.add("META-INF/LICENSE.md")
resources.excludes.add("META-INF/LICENSE-notice.md")
in my case after removing those lines, the build worked fine.