LuckSiege / LuckSiege/PictureSelector
java.util.zip.ZipException: zip file is empty
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 13.6k
- Forks
- 3.1k
- PR merge metrics
- No merged PRs in 30d
Description
你好,我这边下载的demo,将模块引入进自己项目中,报错java.util.zip.ZipException: zip file is empty
按照demo中依赖都进行了添加。请问这是怎么处理?
`java.util.zip.ZipException: zip file is empty
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:225)
at java.util.zip.ZipFile.(ZipFile.java:279)
at com.android.tools.r8.utils.b0.a(SourceFile:37)
at com.android.tools.r8.ArchiveClassFileProvider.(ArchiveClassFileProvider.java:24)
at com.android.tools.r8.ArchiveClassFileProvider.(ArchiveClassFileProvider.java:1)
at com.android.builder.dexing.r8.CachingArchiveClassFileProvider.(CachingArchiveClassFileProvider.java:32)
at com.android.builder.dexing.r8.ClassFileProviderFactory.createProvider(ClassFileProviderFactory.java:125)
at com.android.builder.dexing.r8.ClassFileProviderFactory.(ClassFileProviderFactory.java:94)
at com.android.build.gradle.internal.tasks.DexArchiveBuilderTaskDelegate.doProcess(DexArchiveBuilderTaskDelegate.kt:218)
at com.android.build.gradle.internal.tasks.DexArchiveBuilderTask.doTaskAction(DexArchiveBuilderTask.kt:282)
at
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported Android build failure using the downloaded demo and its stated dependencies. The payload names no source file, test, or specific module to inspect; the work is only complete once the cause of the empty ZIP is identified and a verified resolution is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100