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!
Changing the emulator to cold boot rather than quick boot also seemed to resolve the problem. Rather than a complete wipe.
It's in advanced settings > emulated performance > boot option when editing a device in AVD.
no need to change system variables or adb. it's not adb or emulator error. change your device or emulator and check again!!!
Try to install using adb through command line:
<C:\Android\sdk\platform-tools\>adb -s yourdeviceID install -r build/app/outputs/apk/app.apk
you can follow this for more explanation: https://github.com/flutter/flutter/issues/8605
Thanks