I just updated Dart version and then my vscode warning me everytime, "The Dart Analyzer could not be started".
How can i solve this issue ?
Thank's
give permission to access the flutter folder.
This problem is solved by uninstalling the Dart sdk manually from the computer, and re-install it.
If anyone face the same problem, please uninstall your dart sdk And install it again. Make sure you re-start your vscode IDE.
Hope this will helpful if you face the same problem.
--- Happy Coding ---
I had a permission issue. I just go through the log and seems unable to create .dart directory in the home folder.
Here is the solution: - This solution for mac only - cd ~ - cd .. - whoami - sudo chown {username} {userfolder}
In my case a simple restart of VSCode was needed - it seems as if there was a Dart update pending that VSCode did not notify me about.