Anyone else having terrible performance of Android...
# android-studio
x
Anyone else having terrible performance of Android emulator on M1 macs? It used to be smooth and fast, but after an update i'm barely getting 20fps. I set emulated performance graphics to Hardware (GLES 2.0) but its all the same. I'm using Android Studio Hedgehog 2023.1.1 Canary 1 with Emulator 33.1.10
1
Turns out this is the issue, as pointed out by @saket in this twitter thread, and setting emulated performance graphics to Hardware (GLES 2.0) on device manager does absolutely nothing as it prints out this in the logs
Copy code
Your GPU drivers may have a bug. Switching to software rendering.
So you have to force the emulator to use the host gpu by running the emulator via the terminal
Copy code
./emulator -avd Resizable_API_33 -gpu host
c
Can you confirm you’re using the Google Play image?
If so, can you please comment on this macOS specific bug? https://issuetracker.google.com/270034824
x
yup using a google play image - will comment on the issue linked