简体   繁体   中英

The Dart Analyzer could not be started in vscode

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

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 ---

solved..!

give permission to access the flutter folder.

for MAC

  • go to the security & privacy section
  • then select the files and folders
  • under your IDE,
  • give permission to access the Flutter folder

In my case I put the flutter folder inside the document

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}

在我的情况下,需要简单地重新启动 VSCode - 似乎有一个 Dart 更新未决而 VSCode 没有通知我。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM