- HAXM Enabled version 7.1.0 and i verified that it's working when the emulator is running
- The emulator is using the Nvidia GPU however it's barely using maximum 7% of the GPU at any given time
- I have 27.3.1 of Emulator version ( Latest )
- Tried x86 image and x86_x64 image
- I tried hardware acceleration
- I tried software acceleration
- I bumped the emulator ram to 4GB (I have 20 GB)
- I set the emulator CPU priority to real time
- I have NOTHING but Android Studio, and emulator running
- The emulator is running horribly slow and laggy and even gives a black screen when going from activity to another
- This has been the case since forever
- I tried deleting the entire Android SDK and installing from scratch
- I have intel virtual technology enabled in BIOS
- I tried Google Apis vs none Google Apis emulators
- I tried Nexus 5, X, Pixel 1, 2, XL with android P, O, 16 and all laggy
-
1try an other emulator like [Genymotion](https://www.genymotion.com) with the same virtual devices you tried. If you encounter the same problem then probably the problem is from your computer, otherwise it's from Android Studio. This way at least you can be sure where the problem is. – user 007 May 14 '18 at 12:27
-
The genymotion emulator is just slightly faster – Roudi May 14 '18 at 15:02
-
@user007 Tried Genymotion and every other possible emulator it still lags. (Dual booting hackintosh => And it stops lagging on MAC) – filip Jun 04 '19 at 18:34
5 Answers
This is what helped me with my Android 9 emulator:
Use Google Play x86 image instead of Google API x86 image, because the former had a notification "Preparing for setup.." which never finished.
After launching the emulator first time, going through the initial google device setting (skipping what can be skipped..) and setting up the SD card (as an external storage).
If there are some app updates running, wait for it and then force quit 'Google play services' app. If the emulator will be slow again after reboot, you might want to do this after every launch.
Disable mobile data in settings, because it was trying to connect again and again, using up all CPU. And CPU helps with rendering, so if there is no available CPU, it gets slow.
Edit:
5. Go to emulator Settings/Advanced and set OpenGL ES rendered to Desktop native OpenGL
and OpenGl ES API level to Renderer maximum
and reboot the emulator. In my case, using autoselect/autodetect had far worse performance.

- 1,368
- 14
- 29
-
8
-
@Pascal is correct, the 5th point improved the behaviour of the emulator, while I didn't apply the 1st and 4th points at all. – Alexey Shikov Jun 10 '19 at 15:12
-- this is a follow up for my comment above (it's too long to be written as a comment) --
then we established that the problem is coming from your compute (or your OS) - If you're using a Laptop make sure to check the settings of the laptop performance when plugged and when you're using a batterie. In case you have a desktop check also the settings if there is some sort of limitation set by the OS. That can happen to avoid overhitting and loud fan noises. If any of the above doesn't work and you still really wanna figure this problem out and I'll assume you're using Windows 10, then install Ubuntu or any other Linux distribution as a second OS just to try things out. If The problem is solved then you definitely need to change some settings in your windows.

- 821
- 10
- 31
I had the same issue on my laptop and also on my high-end PC. I tried everything I could find on the internet:
- updating HAXM to the latest version (in SDK Manager)
- disabling Hyper-V on Windows
- disabling audio in emulator
- disabling multi-core feature
- changing the renderer
- disabling snapshots [1]
Now, I cannot be 100 % sure that anything from above could not somehow contribute to fixing the issue (even that I changed most of it back), but the issue disappeared immediately after I did this:
- Go to SDK Manager -> Install the latest SDK Platform
There is said in Android Developers User Guide [1] that these are the requirements for Graphics Acceleration:
- SDK Tools: Latest release recommended (version 17 minimum)
- SDK Platform: Latest release recommended (Android 4.0.3, Revision 3, minimum)
Even that I did have SDK Platform version 27, for some reason I believe that HW acceleration was not working, cause even moving the emulator windows was laggy (or even its settings). As I said before, latest SDK Platform version seems to be the thing that fixed it.
Also, do not forget to kill all emulator processes and also Android Studio. But maybe restart the whole computer just to be sure (I was doing it a lot, cause I was also checking a bios virtualization settings few times).
If it won't work for you, try turn off the snapshots as that was the last before I tried this. You will have to wipe the data from that image, or even better - create a new AVD and download the latest image from "Recommended" tab.
Hope this will be helpful to someone as I did spend several frustrating hours fixing it (after few months of living with it).

- 2,304
- 2
- 24
- 31
Disabling mobile data is one way that works if you're not connected already to data (regardless of wifi connection), another debugging tool that could help you is the FPS Meter in the Debugging Options in Android, relevant github guide

- 507
- 3
- 12
If your emulator is SUDDENLY slow, this might be the reason:
I ran through the same issue.
I then realized that it was a picture quality
issue.
So if you're using a lot of pictures in your app, it will run slow unless you 'lower the picture quality'.
You can use http://compressimage.toolur.com/
to reduce your image quality.

- 70
- 7
-
-
Try using [Genymotion](https://www.genymotion.com/) as the other guy told u, as it is easy to use. However, if you have 2 hard disks and one of them is `SSD`, try launching the emulator from the `SSD` drive. Thats all I know, hope it was helpful. – amk May 14 '18 at 13:44
-
-
-
-
@Dave there's no comparison, a real device is extremely faster and it's not the app, it's the entire emulator that's laggy, it's horrible and unusable, i can barely navigate in the emulator and i have a good laptop, 20GB RAM GTX 1060 and i7 7700HQ – Roudi May 15 '18 at 06:56
-
Suggesting to change something in the application because of emulator performance is like rewriting a book because the distributor is unable to print it properly. – arenaq Nov 08 '18 at 16:13