Need emergency help.... I can't run flutter app in android device and can't build apk due to gradle issue

70 views
Skip to first unread message

Syed Sohan Ahmed

unread,
May 23, 2020, 6:52:41 PM5/23/20
to Flutter Development (flutter-dev)
When i run this bellow things are shown:




FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
   > Could not resolve io.flutter:flutter_embedding_debug:1.0.0-6bc433c6b6b5b98dcf4cc11aff31cdee90849f32.
     Required by:
         project :app
      > Could not resolve io.flutter:flutter_embedding_debug:1.0.0-6bc433c6b6b5b98dcf4cc11aff31cdee90849f32.
               > Remote host closed connection during handshake
      > Could not resolve io.flutter:flutter_embedding_debug:1.0.0-6bc433c6b6b5b98dcf4cc11aff31cdee90849f32.
               > Remote host closed connection during handshake
      > Could not resolve io.flutter:flutter_embedding_debug:1.0.0-6bc433c6b6b5b98dcf4cc11aff31cdee90849f32.
               > Remote host closed connection during handshake
   > Could not resolve io.flutter:x86_debug:1.0.0-6bc433c6b6b5b98dcf4cc11aff31cdee90849f32.
     Required by:
         project :app
      > Could not resolve io.flutter:x86_debug:1.0.0-6bc433c6b6b5b98dcf4cc11aff31cdee90849f32.
               > Remote host closed connection during handshake
      > Could not resolve io.flutter:x86_debug:1.0.0-6bc433c6b6b5b98dcf4cc11aff31cdee90849f32.
               > Remote host closed connection during handshake
      > Could not resolve io.flutter:x86_debug:1.0.0-6bc433c6b6b5b98dcf4cc11aff31cdee90849f32.
               > Remote host closed connection during handshake
   > Could not resolve io.flutter:x86_64_debug:1.0.0-6bc433c6b6b5b98dcf4cc11aff31cdee90849f32.
     Required by:
         project :app
      > Could not resolve io.flutter:x86_64_debug:1.0.0-6bc433c6b6b5b98dcf4cc11aff31cdee90849f32.
               > Remote host closed connection during handshake
      > Could not resolve io.flutter:x86_64_debug:1.0.0-6bc433c6b6b5b98dcf4cc11aff31cdee90849f32.
               > Remote host closed connection during handshake
      > Could not resolve io.flutter:x86_64_debug:1.0.0-6bc433c6b6b5b98dcf4cc11aff31cdee90849f32.
               > Remote host closed connection during handshake

* 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 1m 41s
Exception: Gradle task assembleDebug failed with exit code 1

Screenshot 2020-05-24 at 4.46.34 AM.png

Jay Stewart

unread,
May 23, 2020, 7:03:02 PM5/23/20
to Flutter Development (flutter-dev)
Emergency... Really 😂😂😂😂🤷‍♂️

Souvik Dutta

unread,
May 23, 2020, 8:38:49 PM5/23/20
to Syed Sohan Ahmed, Flutter Development (flutter-dev)
Connect your computer to the internet and run the app. Seriously this is urgent???

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/a4b373fd-6a49-451f-ae7f-1dcf395d9807%40googlegroups.com.

Syed Sohan Ahmed

unread,
May 24, 2020, 8:01:17 AM5/24/20
to Flutter Development (flutter-dev)
Thanks everyone. i  got the solution..

Suzuki Tomohiro

unread,
May 24, 2020, 8:59:48 AM5/24/20
to Syed Sohan Ahmed, Flutter Development (flutter-dev)
Syed,

Would you be willing to share what was the problem and how you resolved it?

--
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.

Mahbub Habib

unread,
May 24, 2020, 12:35:17 PM5/24/20
to Flutter Development (flutter-dev)

I faced the same problem. Could you please share how you solve it??
Reply all
Reply to author
Forward
0 new messages