I am getting this error code in my vscode. How to fix it? I am using flutter v2.5.3.
https://i.stack.imgur.com/nJy9U.png
CodePudding user response:
You can try fixing it by running this in the terminal:
Just copy and paste the below code in terminal and run it.
dart pub global activate devtools -v 2.8.0
which downgrades the version to 2.8.0 (that works fine). Found answer on github
CodePudding user response:
This worked for me too, Had to downgrade from 2.14.2 to 2.8.0 I don't know why this error is just coming up today, but I think there's an issue with Dart Engine
CodePudding user response:
In VS Code extensions I switched the Dart plugin to Pre-Release mode and extension loaded successfully. It worked for now, but being Pre-Release it may come up with its own issues later.