美文网首页
Flutter构建失败,ERROR:Could not dete

Flutter构建失败,ERROR:Could not dete

作者: 承诺一时的华丽 | 来源:发表于2020-04-11 10:20 被阅读0次
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 find io.flutter:flutter_embedding_debug:1.0.0-33ad6757e88311f4fb9d341918894e2bc30e3b20.
     Required by:
         project :app
   > Could not find io.flutter:arm64_v8a_debug:1.0.0-33ad6757e88311f4fb9d341918894e2bc30e3b20.
     Required by:
         project :app
   > Could not find io.flutter:x86_debug:1.0.0-33ad6757e88311f4fb9d341918894e2bc30e3b20.
     Required by:
         project :app
   > Could not find io.flutter:x86_64_debug:1.0.0-33ad6757e88311f4fb9d341918894e2bc30e3b20.
     Required by:
         project :app

* 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 27s
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done                        27.7s
Gradle task assembleDebug failed with exit code 1

粗暴的办法删除就是删除系统用户目录C:\Users\administrator\.gradle下的.gradle文件夹,然后重新构建fiutter项目即可,亲测可用

相关文章

网友评论

      本文标题:Flutter构建失败,ERROR:Could not dete

      本文链接:https://www.haomeiwen.com/subject/nnwemhtx.html