Please help I am new on Flutter - Error - Exception: Gradle task assembleDebug failed with exit code 1

1,978 views
Skip to first unread message

Nitin Arora

unread,
Jun 10, 2020, 7:34:19 AM6/10/20
to Flutter Development (flutter-dev)
Hi Everyone , 

i am New on Flutter , I had Followed Every step to Install Flutter on My Windows as Described by flutter.dev , but When I Tried to Run My First app Following Error Appeared , I am Confused that What Should i Do Now , Please Help  ( I am Attaching the Screen Shot of the Same) . Android Doctor Found no Issues and I Got the Same Error As Well as on Command Prompt and on Android Studio. 

Launching lib\main.dart on Android SDK built for x86 in debug mode...

Running Gradle task 'assembleDebug'...

Exception in thread "main" java.util.zip.ZipException: error in opening zip file

at java.util.zip.ZipFile.open(Native Method)

at java.util.zip.ZipFile.<init>(ZipFile.java:225)

at java.util.zip.ZipFile.<init>(ZipFile.java:155)

at java.util.zip.ZipFile.<init>(ZipFile.java:169)

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)

[!] Gradle threw an error while downloading artifacts from the network. Retrying to download...

Running Gradle task 'assembleDebug'...

Exception in thread "main" java.util.zip.ZipException: error in opening zip file

at java.util.zip.ZipFile.open(Native Method)

at java.util.zip.ZipFile.<init>(ZipFile.java:225)

at java.util.zip.ZipFile.<init>(ZipFile.java:155)

at java.util.zip.ZipFile.<init>(ZipFile.java:169)

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)

[!] Gradle threw an error while downloading artifacts from the network. Retrying to download...

Exception: Gradle task assembleDebug failed with exit code 1

1.JPG

2.JPG





Souvik Dutta

unread,
Jun 10, 2020, 10:21:58 AM6/10/20
to Nitin Arora, Flutter Development (flutter-dev)
See if this works. https://github.com/flutter/flutter/issues/51195
You will have to scroll down a bit to find the solution.

Souvik flutter dev

--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/89d7fc51-e412-4e1b-bce7-14d7e069e346o%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages