skip to Main Content

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:

enter image description here

2

Answers


  1. Chosen as BEST ANSWER

    I think I found a solution. I doubted why it was happening on my pubspec.yaml almost all the time. Then, I remembered I was using Flutter Pub Version Checker plugin. It was the reason why AS was freezing.

    Just I needed to disable this plugin.


  2. I am facing same issue I am not able to open android studio file sometimes so I ask my seniors and they told me to do following steps and it will work for me

    Open sdk manager then go to system settings

    inside system settings go to memory settings and increase IDE max heap
    size

    this problem occurs when you use library in your project so your project has to use more ram

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search