简体   繁体   English

在 ubuntu 18.04 中全新安装 flutter 不会运行我的第一个应用程序

[英]Fresh install flutter in ubuntu 18.04 wont run my first app

I tried to create my first app using flutter create newapp我尝试使用flutter create newapp我的第一个应用程序

but it wont run i always get an error但它不会运行我总是得到一个错误

* What went wrong:
A problem occurred evaluating project ':app'.
> com/google/common/util/concurrent/SettableFuture

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

I just wipe all the cache in.gradle/cache and it works我只是擦除所有缓存 in.gradle/cache 并且它可以工作

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM