There are a least a dozen previously compiled and running flutter applets that suddenly will not compile under Android Studio or Intellij.
Even if i build a new default
I had a similar error when trying to run my flutter application. What I did was:
I hope that helps you!