'Flutter doesn't start

if I Open Vs code and try to code, or try to use the command flutter, flutter doctor etc. in the Terminal, It doesn't work and just says:

Error: Unable to 'pub upgrade' flutter tool. Retrying in five seconds... (9 tries left) Failed to start the Dart CLI isolate. Could not resolve DartDev snapshot or kernel. (null).

Later it says in an little Window at the bottom lefthand corner:

Failed to initialize Flutter: Process exited with code 1.

And I use the Mac with Mac chip!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source