无法“发布升级”颤振工具

时间:2021-02-11 23:31:53

标签: flutter dart

运行 flutter doctor 时出现此错误

Building flutter tool...
The current Dart SDK version is 2.10.0-4.0.dev.flutter-06cb010247.

Because flutter_tools depends on collection >=1.15.0-nnbd <1.15.0-nullsafety.2 which requires SDK version >=2.9.0-18.0 <=2.9.10, version
  solving failed.
Error: Unable to 'pub upgrade' flutter tool. Retrying in five seconds... (9 tries left)
The current Dart SDK version is 2.10.0-4.0.dev.flutter-06cb010247.

我已经尝试了这个建议的解决方案,但我得到了与上面完全相同的错误: https://stackoverflow.com/a/58283307/12671198

我需要降级我的 Dart SDK 吗?如果是这样,这是如何完成的?

0 个答案:

没有答案