I got this error today, yesterday the build was working perfectly i dont know what happened today, please help me, also flutter doctor is showing no issues

A problem was found with the configuration of task ':app:compileDebugJavaWithJavac'.

File 'C:\Users\Anoushk\AndroidStudioProjects\crud_app\build\app\intermediates\annotation_processor_list\debug\annotationProcessors.json' specified for property 'processorListFile' does not exist.


Solution 1: Anoushk

I solved this issues by deleteing the .gradle file in the android folder in the project file


Solution 2: Eghan Ericus

Just delete the .GRADLE file in the ANDROIDPROJECTFILE - - locate the project folder and delete the .gradle file and rebuild