[英]Flutter Development (flutter-dev) › Need emergency help… I can't run flutter app in android device and can't build apk due to gradle issue
enter image description here在此处输入图像描述
****When I run these bellow things are shown:**** this issue is occurring with all form Bangladesh ****当我运行这些波纹管时,会显示以下内容:**** 这个问题发生在所有形式的孟加拉国
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.
> Could not get resource
> Could not get resource 'https://storage.googleapis.com/download.flutter.io/io/flutter/x86_64_debug/1.0.0-6bc433c6b6b5b98dcf4cc11aff31cdee90849f32/x86_64_debug-1.0.0-6bc433c6b6b5b98dcf4cc11aff31cdee90849f32.pom'.
> Could not GET 'https://storage.googleapis.com/download.flutter.io/io/flutter/x86_64_debug/1.0.0-6bc433c6b6b5b98dcf4cc11aff31cdee90849f32/x86_64_debug-1.0.0-6bc433c6b6b5b98dcf4cc11aff31cdee90849f32.pom'.
> Remote host closed connection during handshake
* Try:
Run with --stack trace 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 assembly debug failed with exit code 1
It clearly says它清楚地说
Could not GET...
无法获取...
Remote host closed connection during handshake
握手期间远程主机关闭连接
Maybe, check if your internet connection is available to the application who is trying to build.也许,检查您的互联网连接是否可用于尝试构建的应用程序。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.