been having issues with this gradle error: java.util.zip.ZipException: zip END header not found
at java.base/java.util.zip.ZipFile$Source.findEND(ZipFile.java:1638)
at java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1646)
at java.base/java.util.zip.ZipFile$Source.<init>(ZipFile.java:1484)
at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1446)
at java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:718)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:252)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:181)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:195)
at org.gradle.wrapper.Install.unzip(Install.java:214)
at org.gradle.wrapper.Install.access$600(Install.java:27)
at org.gradle.wrapper.Install$1.call(Install.java:74)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:128)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Running Gradle task 'assembleDebug'... 4.8s
I have tried all methods on that I saw online; But, none seems to works... And, because of this, my code can neither run on my emulator or even physical device.
Please, what can I do. Also, I am running on Linux OS
If you're ever having issues with android build, try opening android module in a separate android studio tab and try building there. most of the problems are shared by the ide along with the solution on how to solve it. try this approach. see if this works or not.
Thank you very much. Do you mind me sending a DM?
Обсуждают сегодня