I am getting an error in flutter setup in android studio in windows, i already updated and having latest version of flutter and android studio

Viewed 447

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 Answers

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.

Related