You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Flutter 2.2.3环境下匹配现有Firebase依赖的storage包版本如何选择

兼容版本说明

和你当前开发环境适配的firebase_storage版本为^5.2.0。

你正在使用的firebase_core: ^0.5.3属于Firebase Flutter旧版核心依赖,同批次发布的Firebase系列插件版本互相兼容,不会出现依赖冲突。你可以直接在pubspec.yaml文件的依赖块中添加如下配置:

firebase_storage: ^5.2.0

如果配置后拉取依赖时报错,可以先执行flutter clean命令清空本地构建缓存,再重新执行flutter pub get拉取依赖即可正常使用。


内容的提问来源于stack exchange,提问作者saurabh shani

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.10.02 04:45:02