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



我尝试使用flutter create newapp创建我的第一个应用程序

但它不会运行,我总是得到一个错误

* 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

我只需擦除.gradle/cache中的所有缓存,它就可以工作

最新更新