flutterdartdart-analyzer

Dart Analyzer terminated on flutter clean or flutter run


Whenever I use the command flutter clean or flutter run, the window "The Dart Analyzer has terminated." pops up in VS Code. For flutter run I can specify that the analyzer terminates when it says "Running Gradle task 'assembleDebug'" in the console.

Here is the log after running flutter clean: https://hastebin.com/osovilenaj.swift

Can someone tell me the reason for this behaviour? I can simply click on restart, but it is annoying during my workflow.


Solution

  • Since something (Dart?) has been updated the error does not occurre anymore.