Home > Software design >  After running flutter pub upgrade my app stops running
After running flutter pub upgrade my app stops running

Time:09-30

I started getting this error immediately I ran flutter pub upgrade, I have tried the solutions enter image description here

enter image description here

enter image description here

CodePudding user response:

Yes its most probably you are using a package that is not yet compatible or does not match with required compileSdk version. To identify which package is causing the issue, maybe you can try to revert your pubspec to when it was working and upgrade your packages one by one. I'm also using M1 Macbook, so if you need further help, let me know.

CodePudding user response:

Try this,

  1. from top menu bar select Tools -> Flutter -> Flutter clean

  2. Open pubspec.yaml & execute pub get & run again your code

  • Related