java.util.zip.ZipException: error in opening zip file
See original GitHub issuecurrently I am getting:
⋊> ./gradlew clean build 16:40:12
> Task :app:unMock FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:unMock'.
> java.util.zip.ZipException: error in opening zip file
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1s
4 actionable tasks: 3 executed, 1 up-to-date
I think the zip file is corrupted as I aborted a previous build. I had this once before and have to find the file again now. Would be great if the plugin re-downloads on this exception - could provide a better developer experience.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
java.util.zip.ZipException: error in opening zip file
Make sure your jar file is not corrupted. If it's corrupted or not able to unzip, this error will occur.
Read more >Exception in thread "main" java.util.zip.ZipException: error in ...
Gradle threw an error while trying to update itself. Retrying the update... Exception in thread "main" java.util.zip.ZipException: error in ...
Read more >java.util.zip.ZipException: error in opening zip file - CodeRanch
java.util.zip.ZipException: error in opening zip file ... I have no clue how to fix this error, any help will be great! ... Your...
Read more >Tomcat error: "java.util.zip.ZipException: error in opening zip file"
This error typically indicates corruption in the .jar file that Tomcat is trying to open. As there is no way to know exactly...
Read more >error in opening zip file in Java Console when Downloading ...
util.zip.ZipException: error in opening zip file in Java Console when Downloading frmwebutil.jar after Applying a Patch (Doc ID 1567628.1).
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Good you asked … I’ll do that
Since all the ‘downloadFrom’ stuff is really bad and legacy it will be removed with 0.7.0
Gradle’s dependency management is really good and should be the way to go form 0.7.0 on.