Gradle任务assembleDebug失败了

时间:2020-04-23 14:29:44

标签: android-studio flutter

我遇到了试图运行抖动的问题。当我从GitHub克隆一个项目,然后尝试运行其依赖项(未运行)时,发生了这种情况。所以我要做的是再次启动该项目,并输入相同的代码库。我看到了,然后出现了:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:checkDebugDuplicateClasses'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Could not download flutter_embedding_debug.jar (io.flutter:flutter_embedding_debug:1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408)
      > Could not get resource 'http://download.flutter.io/io/flutter/flutter_embedding_debug/1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408/flutter_embedding_debug-1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408.jar'.
         > Could not GET 'http://download.flutter.io/io/flutter/flutter_embedding_debug/1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408/flutter_embedding_debug-1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408.jar'.
            > Connection reset

* 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 16s
Finished with error: Gradle task assembleDebug failed with exit code 1

0 个答案:

没有答案
相关问题