Flutter / Unable to create dart snapshot for flutter tool
i’ve been stuck with this. I am using Flutter on VScode and kept getting loop error: Unable to create dart snapshot for flutter tool.
Firsly, it says “Initializing the Flutter SDK. This may take a few minutes.” for a really long time. Secondly, it shows error related to native_assets. It keeps looping, after the message “Unable to create dart snapshot for flutter tool.” it starts all over again. it was completely fine, before i ran the ‘forse upgrade’ (i guess it was a big mistake).
This is native_assests.dart for android.