Why Android Studio is slowing down when editing xml file or changing the design?

后端 未结 6 1258
-上瘾入骨i
-上瘾入骨i 2021-02-02 05:52

I have a Hp envy notebook with Intel i7 and 8gb ram and 2gb graphics, still sometimes android studio stucks when I am working with xml or design the app. Is there any problem w

6条回答
  •  北海茫月
    2021-02-02 06:25

    In case anyone else encounters this in the future, I've found that if you click on the little man with the hat at the bottom right, enable "Power Saving Mode" and switch down Highlighting level to "None", it reduces the XML editing lag in complex layouts.

    enter image description here

    Once you make the edit, you can disable Power Saving and slide highlighting back up to see the changes in Preview.

    Not ideal, but it prevents the constant pauses between keypresses whilst editing.

提交回复
热议问题