2
votes

This is what i am getting while creating flutter project After completing all steps like SDK download, path setup in windows getting this error in flutter setup.

This error is occuring before creating flutter project.

The current Dart SDK version is 2.9.2. Because flutter_tools depends on test >=1.16.0-nullsafety which requires SDK version >=2.10.0-0 2.11.0, version solving failed. pub get failed (1; Because flutter_tools depends on test >=1.16.0-nullsafety which requires SDK version >=2.10.0-0 2.11.0, version solving failed.)

Image of Error

1
Did you get this while running pub get? And also please paste your pubspec.yamlSiddharth Agrawal
Downgrade your test package or update dart versionking mort
My setup is having latest flutter version.Deepanshu
Flutter 1.22.0 • channel stable • github.com/flutter/flutter.git Framework • revision d408d302e2 (4 days ago) • 2020-09-29 11:49:17 -0700 Engine • revision 5babba6c4d Tools • Dart 2.9.2Deepanshu
@Deepanshu did you resolve the issue? I get the same error message.Heikkisorsa

1 Answers

0
votes

Please show your pubspec file. If you have tried all possible solutions and can't figure out the issue, I would say to try and reinstall it.