Flutter酒吧得到给予错误
Running "flutter pub get" in practice...
Because every version of flutter_test from sdk depends on quiver 2.1.3 and practice depends on quiver 2.1.0, flutter_test from sdk is forbidden.
So, because practice depends on flutter_test any from sdk, version solving failed.
pub get failed (1; So, because practice depends on flutter_test any from sdk, version solving failed.)
exit code 1
我正在使用的版本
[√] Flutter (Channel dev, v1.18.0, on Microsoft Windows [Version 10.0.18363.752], locale en-IN)
• Flutter version 1.18.0 at C:\src\flutter
• Framework revision 8f7327f83a (3 weeks ago), 2020-04-06 22:11:01 -0400
• Engine revision 49891e0653
• Dart version 2.8.0 (build 2.8.0-dev.20.0 1210d27678)
2条答案
按热度按时间yacmzcpb1#
您可能需要添加一个插件。
ybzsozfc2#
两者
flutter_test
以及practice
取决于quiver
包,但每个都有不同的版本。您可以强制使用最新版本的quiver
这样你就可以通过考试了flutter pub get
没有错误: