由于dart SDK版本中的某些问题,rxdart没有安装在我的PC中

时间:2019-06-07 06:02:02

标签: flutter dart sdk rxdart

我正在尝试通过从https://pub.dev/packages/rxdart/versions/0.7.1#-installing-tab-复制rxdart来安装它,但是它显示了一些错误。

当前Dart SDK版本为2.3.0-dev.0.5.flutter-a1668566e5。

由于flutter_course依赖于rxdart> = 0.1.0 + 1 <0.16.0,这需要SDK版本> 1.12.0 <2.0.0,因此版本解析失败。 酒馆失败(1) 退出代码1

我尝试使用Flutter升级。 但这并没有任何改变。

我的pubsec.yaml文件

version: 1.0.0+1

environment:
  sdk: ">=2.1.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter


  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.2
  scoped_model: ^1.0.1
  http: ^0.12.0+2
  shared_preferences: ^0.5.3+1
  rxdart: ^0.7.1

dev_dependencies:
  flutter_test:
    sdk: flutter

0 个答案:

没有答案