question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

END header not found

See original GitHub issue
Unzipping /home/pheonixhp/.gradle/wrapper/dists/gradle-4.4.1-all/2kpyt0ea6hyxavvt21uml23gd/gradle-4.4.1-all.zip to /home/pheonixhp/.gradle/wrapper/dists/gradle-4.4.1-all/2kpyt0ea6hyxavvt21uml23gd
Exception in thread "main" java.util.zip.ZipException: zip END header not found
        at java.base/java.util.zip.ZipFile$Source.zerror(ZipFile.java:1535)
        at java.base/java.util.zip.ZipFile$Source.findEND(ZipFile.java:1436)
        at java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1443)
        at java.base/java.util.zip.ZipFile$Source.<init>(ZipFile.java:1274)
        at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1237)
        at java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:727)
        at java.base/java.util.zip.ZipFile$CleanableResource.get(ZipFile.java:844)
        at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:247)
        at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:177)
        at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:191)
        at org.gradle.wrapper.Install.unzip(Install.java:159)
        at org.gradle.wrapper.Install.access$500(Install.java:26)
        at org.gradle.wrapper.Install$1.call(Install.java:69)
        at org.gradle.wrapper.Install$1.call(Install.java:46)
        at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
        at org.gradle.wrapper.Install.createDist(Install.java:46)
        at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:126)
        at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/getting-started.html
Done in 1224.19s.

In React Native ,When I run ‘yarn android’ command… I got this error… Please anyone solve this issue if you can…

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
chakrihackercommented, Mar 8, 2020

looks like gradle is not downloaded properly, or corrupted, try running the command again

0reactions
juniorbubacommented, Oct 22, 2020

yarn || npm install?

Read more comments on GitHub >

github_iconTop Results From Across the Web

IntelliJ Compilation Error zip END header not found
We had this issue when internet connection dropped while Idea was downloading project dependencies. We solved it by deleting the corrupted file ......
Read more >
Getting "ZipError: zip END header not found" when reading S2 ...
This type of error indicates corrupted zip file. If something wrong happened during the download, retry to download until the zip extraction ...
Read more >
Exception in threads .. zip END header not found · Issue #73852
Go to the root directory and locate the hidden .gradle folder and delete it. If you're on a mac, open terminal and execute....
Read more >
Maven compiling error - zip END header not found | SpigotMC
END header not found means that the zip is basically just corrupted, (I mean, unless you broke the jdk/jre install, which I doubt...
Read more >
'zip END header not found' error : IDEA-247985 - YouTrack
Unable to install IntelliJ updates automatically - 'zip END header not found' error ... VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found