Open your project/app in android studio run command flutter clean run command flutter pub cache repair Click on Menu File - Invalidate caches Check all the boxes and click on button Invalidate and Restart Once restart android studio will reconfigure everything run command flutter pub upgrade.