Recently i upgraded my flutter project to support flutter sdk version 3.22.x, i was using Android studio Hedgehog. It worked fine.
After i project upgrade, i updated the android studio from Hedgehog to Koala, not i am not able to run the flutter project, getting this error:
* What went wrong:
Execution failed for task ':app:compileFlutterBuildDevDebug'.
> A problem occurred starting process 'command '/Users/username/development/flutter/bin/flutter''
I have different flavors in this application, other project that don’t have flavors works fine.
I have tried:
- Deleting pubspec.lock, clean, pub get and build again
- Invalidate cache and restart
- flutter pub cache repair
- Also tried this option, but i don’t find any dart related error in the code.