We Are Going To Discuss About Because testing_app requires SDK version >=2.16.1 <3.0.0, version solving failed. in flutter. So lets Start this Flutter Article.
=2.16.1-Because testing_app requires SDK version >=2.16.1 <3.0.0, version solving failed. in flutter
The answer is in the error message:The current Dart SDK version is 2.15.1. Because testing_app requires SDK version >=2.16.1 <3.0.0, version solving failed.
It means that the project needs Dart SDK in version 2.16.1 (at least), and your version is 2.15.1.
You should upgrade your Flutter version with flutter upgrade
. For more info see the documentation.
The answer is in the error message:The current Dart SDK version is 2.15.1. Because testing_app requires SDK version >=2.16.1 <3.0.0, version solving failed.
It means that the project needs Dart SDK in version 2.16.1 (at least), and your version is 2.15.1.
You should upgrade your Flutter version with flutter upgrade
. For more info see the documentation.
Solution 1
The answer is in the error message:
The current Dart SDK version is 2.15.1. Because testing_app requires SDK version >=2.16.1 <3.0.0, version solving failed.
It means that the project needs Dart SDK in version 2.16.1 (at least), and your version is 2.15.1.
You should upgrade your Flutter version with flutter upgrade
. For more info see the documentation.
Original Author pszklarska Of This Content
Solution 2
I had a similar problem and solved it by changing the environment sdk version.
Open the project pubspec yaml file and next to environment: sdk:, change the version number to the minimum version required by the package or app as instructed in the error message.
I had to downgrade my sdk version from from “>=2.17.0-182.0.dev <3.0.0” to “>=2.16.0-182.0.dev <3.0.0”.
Original Author Sharon Atim Of This Content
Solution 3
Flutter upgrade solves this. Kindly try it
Original Author Victorhez Of This Content
Conclusion
So This is all About This Tutorial. Hope This Tutorial Helped You. Thank You.