【问题标题】:Fresh install flutter in ubuntu 18.04 wont run my first app在 ubuntu 18.04 中全新安装颤振不会运行我的第一个应用程序
【发布时间】:2021-04-10 07:53:00
【问题描述】:

我尝试使用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

【问题讨论】:

  • 扑医生一切顺利

标签: android flutter dart flutter-test


【解决方案1】:

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-08-19
    • 2020-03-15
    • 2019-10-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-03-11
    • 2020-03-25
    相关资源
    最近更新 更多