I am using Android Studio for Flutter. The problem is that my android studio freezes regularly many times. It is very annoying. It is ver weird as my RAM is 16GB which is very enough for the mac with high specs. I don't use simulator/emulator.
This usually happens when I start typing in pubspec.yaml. it freezes for about 10+ seconds as soon as I start typing.
I would really appreciate if you could help how to resolve this issue!
Here is the flutter doctor output if it can help:
