How to improve performance of Android Studio in Apple M1 macs?

Viewed 2152

Using Android Studio in my new M1 MacBook pro seems to have some performance issues while coding. The application build is fast, but IDE seems a little laggy while coding, giving suggestions, and button response. What is the possible cause for this? Are there any ways to improve the performance of Android Studio? Activity Monitor indicates a lot of CPU usage from Android Studio.

Details about my Environment

  • Android Studio Arctic Fox Preview Built
  • Azul Zulu JDK 11

(Update)

The problem is solved now with official support

3 Answers

I have exactly the same environment setup and also get the laggy experience. I am on Big Sur 11.4 with a 16 GB M1 Macbook Pro. I have really terrible performance, even doing basic things like resizing windows etc. brings out the spinner and even typing shows huge input lag.

--EDIT-- I have found that the IntelliJ Idea IDE doesn't have the laggyness whilst still having all the functionality of Android Studio. Maybe it can help you as a workaround until the issues with AS get resolved

I suspect, mostly you would be using x86 variant of Android Studio. Try using the arm64 Android Studio released by Google, meant for Apple M1. Also answered here

Related