【发布时间】:2021-05-20 05:57:54
【问题描述】:
在我的 Flutter Web 应用程序中添加 firebase_storage: ^7.0.0 时遇到以下错误。
因为来自 sdk 的每个版本的 integration_test 都依赖于 crypto 3.0.0,每个版本的 firebase_storage_web 都依赖于 crypto ^2.1.5,所以来自 sdk 的 integration_test 与 firebase_storage_web 不兼容。 并且因为 firebase_storage >=7.0.0 依赖于 firebase_storage_web ^0.1.1+3,所以来自 sdk 的 integration_test 与 firebase_storage >=7.0.0 不兼容。 因此,由于accounting_ca 依赖于sdk 中的firebase_storage ^7.0.0 和integration_test any,版本解决失败。 pub get failed (1; 所以,因为 accounting_ca 依赖于 firebase_storage ^7.0.0 和 integration_test any from sdk,版本解决失败。)
谢谢
【问题讨论】:
-
能否提供您的
pubspec.yaml文件的示例?我想你的开发需要integration_test
标签: firebase flutter google-cloud-firestore firebase-storage dart-pub