Home > Software engineering >  erro in SDK dart
erro in SDK dart

Time:08-05

When running the flutter build apk command, I am getting the following error:

Pubspec.yaml enter image description here

Error code: enter image description here

CodePudding user response:

Open your pubspec.yaml

search for this:

Pubspec

Then change the SDK to: ">=2.17.5 <3.0.0"

CodePudding user response:

You can write

flutter upgrade

command in terminal to update flutter sdk

  • Related