baoyongzhang / baoyongzhang/ParcelableGenerator
Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'. > com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/baoyz/pg/ParcelUtil.class
- Dominant language
- Java
- Stars
- 302
- Forks
- 76
- PR merge metrics
- No merged PRs in 30d
Description
添加依赖后,搭配v7会报
Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'.
> com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/baoyz/pg/ParcelUtil.class
如果引用jar的方式就没问题了,是依赖包里又依赖了v4么
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the reported Android build with the dependency setup and v7, then inspect the dependency contents for the duplicate com/baoyz/pg/ParcelUtil.class entry. Compare that result with the jar-based setup described in the issue; done means the v7 dependency build no longer fails with the duplicate-entry error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- build-system, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100