When running the flutter build apk command, I am getting the following error:
Pubspec.yaml
Error code:
2
Open your pubspec.yaml
pubspec.yaml
search for this:
Then change the SDK to: ">=2.17.5 <3.0.0"
">=2.17.5 <3.0.0"
You can write
flutter upgrade
command in terminal to update flutter sdk
Click here to cancel reply.
2
Answers
Open your
pubspec.yaml
search for this:
Then change the SDK to:
">=2.17.5 <3.0.0"
You can write
flutter upgrade
command in terminal to update flutter sdk