how to solve Execution failed for task ‘:app:compileFlutterBuildDebug’

Something that work for me is: Delete your pubspec.lock, and press ‘Pub Get’ in your pubspec.yaml, it’ll regenerate pubspec.lock file again and should fix the problem.

Leave a Comment