我正在尝试获取cloud_firestore
此 Flutter 教程所需的软件包:
https ://codelabs.developers.google.com/codelabs/flutter-firebase/#7
当我跑步时,flutter packages get
我只会回来:
Package cloud_firestore has no versions that match >=0.7.0 <0.8.0 derived from...
该cloud_firestore
软件包在此网站上说https://github.com/flutter/plugins/tree/master/packages/cloud_firestore最新版本是0.7.2
我也尝试过该版本,但我得到了同样的错误。
我也试过flutter的dev、master和beta通道,都没有成功拿到这个包。
而且,这是我的pubspec.yaml
文件:
name: test_app
description: Integrate firebase into flutter
dependencies:
flutter:
sdk: flutter
cupertino_icons: ^0.1.0
cloud_firestore: ^0.7.0
dev_dependencies:
flutter_test:
sdk: flutter
flutter:
uses-material-design: true
关于可能发生的事情有什么建议吗?谢谢你。