错误:运行Flutter应用程序时?建立失败

时间:2020-05-22 22:37:47

标签: android-studio flutter

在vivo 1921上以调试模式启动lib \ main.dart。 正在运行Gradle任务“ assembleDebug” ...

失败:构建失败,并出现异常。

* What went wrong:
Execution failed for task ':app:compileDebugKotlin'.
> Could not resolve all artifacts for configuration ':app:debugCompileClasspath'.
   > Could not download x86_debug.jar (io.flutter:x86_debug:1.0.0-6bc433c6b6b5b98dcf4cc11aff31cdee90849f32)
      > Could not get resource 'https://storage.googleapis.com/download.flutter.io/io/flutter/x86_debug/1.0.0-6bc433c6b6b5b98dcf4cc11aff31cdee90849f32/x86_debug-1.0.0-6bc433c6b6b5b98dcf4cc11aff31cdee90849f32.jar'.
         > Tag mismatch!

* 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

45秒内失败 异常:Gradle任务assembleDebug失败,退出代码为1

0 个答案:

没有答案