Android Studio With Flutter Update Has Caused an Indexing Loop
I found this comment in an android studio bug and it fixed it for me:
"File -> invalidating caches and restart"
I was able to address this problem by adding
<option name="ALLOW_USER_CONFIGURATION" value="false" />
to my project_android.iml
file. Once adding this line, the reindexing loop stopped and it has not even after several days of working and restarting Android Studio. Found the solution in a comment by stevemessick here https://github.com/flutter/flutter-intellij/issues/1735 as per Günter Zöchbauer link reference in the response above.
This is a known issue.
https://github.com/flutter/flutter-intellij/issues/2017
https://github.com/flutter/flutter-intellij/issues/1735
https://github.com/flutter/flutter/issues/15973
Plugin version 23 was supposed to fix that, but it seems it hasn't.