In my flutter project, when i Started Debugging then it returns an Exception message which is FAILURE: Build failed with an exception. See the below output of my Terminal.

Solution
Just Delete your .gradle directory from android directory.

The Error will resolve with this.
Thanks for reading.
Keep Coding.

Latest posts by Sushant Kumar (see all)
- [SOLVED] Flutter : PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null, null) - December 7, 2021
- [Solved] Flutter : Error: The getter ‘subhead’ isn’t defined for the class ‘TextTheme’ from package:flutter/src/material/text_theme.dart’ – searchable_dropdown - December 6, 2021
- [SOLVED] Flutter Error: The getter ‘body1’ isn’t defined for the class ‘TextTheme’ – place_picker. - December 6, 2021