The Dart Analysis Server server crashed 5 times in the last 3 minutes. The server will not be restarted

Almost every time I open VS Code to work on any flutter project this happens.
Both VS Code and Android Studio won’t run or detect flutter commands and devices.
I have to restart my computer each time to resolve this whenever this happens

I tried a fresh install of Flutter, VS Code and Android Studio however this didn’t solve any problem.

same here anyone got solution please share