[SOLVED] Flutter: A problem was found with the configuration of task ‘:google_sign_in:compileDebugJavaWithJavac’.

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.