【问题标题】:when i user firebase-core and click pub get . I face a below problem . how can I solve this problem当我使用 firebase-core 并单击 pub get 时。我面临以下问题。我怎么解决这个问题
【发布时间】:2021-04-07 16:12:43
【问题描述】:

因为flutter_app1111依赖firebase_core >=0.8.0-1.0.nullsafety.0需要SDK版本>=2.12.0-0

【问题讨论】:

  • 升级你的flutter版本并重新打开你的ide

标签: android flutter


【解决方案1】:

将 pubspec.yaml 文件中的该行更改为以下内容:

environment:
  sdk: ">=2.12.0 <3.0.0"

也在你的终端运行flutter upgrade

【讨论】:

    猜你喜欢
    • 2020-11-27
    • 2020-07-25
    • 2011-04-29
    • 2023-02-22
    • 2013-10-24
    • 1970-01-01
    • 2020-09-29
    • 1970-01-01
    • 2022-01-18
    相关资源
    最近更新 更多