Android Emulator Lag After Startup on Mac: Why the First Few Minutes Stutter
Updated on · The MACOS EMULATOR team
You have just started the Android device, you launch your game, and the first few minutes stutter before everything settles down? It is not your Mac and it is not your settings: Android has not finished working yet. Here is what happens in MACOS EMULATOR, the banner that flags it, what “Play” does with those minutes, and how to let them pass.
Android has started, but it has not finished working
An Android device that has finished starting has not finished working. For several more minutes, it optimizes apps in the background. A game launched at that moment shares the device with that work, and it drops frames.
Measured on our side, on the same scene with the same settings, with a cap of 30 frames per second: as long as Android’s load, its average load over one minute, stayed between 4.3 and 4.6, the game showed 17 to 21 frames per second. Once that load had come back down to between 1.7 and 2.0, it held its 30 frames per second, exactly. Above 4, a third of the frames disappear.
This is not the very first boot, which can take ten to twenty minutes on an 8 GB Mac and which the guide to an emulator that will not start describes. Nor is it the black screen the first time a game opens, which has its own cause, explained in the same guide. Here, the device has started and the game is running: it only hitches at the beginning.
The banner: “The device is finishing setting up”
The launcher keeps an eye on that work. Once Android has started, it reads its load again every four seconds. As long as the load is above 2.5 and no game has been launched since startup, an orange banner marked with an hourglass appears on the home screen, with the other banners, below the header: “The device is finishing setting up”, then “a game may stutter now”.
Hover over it, or over its small i icon, to read the details: “Android is still optimizing apps in the background after starting. It smooths out after a few minutes.”
- It clears on its own as soon as the load is back at 2.5 or below, the same threshold “Play” waits for.
- It goes quiet as soon as you click “Play”, and does not come back while the game is running: the load read at that point would be the game’s, not that of Android’s work.
- It disappears when the device shuts down, and can come back after a new startup, if Android’s load goes above the threshold again.
What “Play” does with those minutes
Clicking “Play” while the device is off or has just started means launching the game right in the middle of that work. The launcher knows it. Once the device has started, it does two things behind the loading screen laid over the game window:
- It stops the background optimization if it is running. Nothing is lost: it picks up where it left off the next time it is triggered. Your match comes first.
- It waits for Android’s load to come back to 2.5 or below, reading it again every three seconds, for 25 seconds at most.
Why not longer? After a startup, the load takes several minutes to drop below the threshold: a longer wait would not get there, it would only keep you waiting without giving you back a single frame. On a device that has already been running for a while, the load is low and the wait does not show. After 25 seconds, the game launches anyway, and its first few minutes may hitch.
What to do: start first, play second
- 1On the home screen, click “Start”, the device button in the header. It starts the Android device without launching a game, and shows “Starting…” while it boots.
- 2Let the device work for a few minutes, without launching anything. Keep the home screen in view: when the banner clears, the load has come back down.
- 3Click “Play”: the game launches on a device that has finished its work.
The launcher does not give a duration: it watches the load, not the clock. And during those minutes, do not change any setting to fix the stutter: it comes from Android, not from your settings. If the game still hitches long afterwards, the settings that actually make a difference take over.
No performance report during those minutes
A performance report taken right after startup describes Android’s work, not your match or your settings. On our side, a reading of 15 frames per second, three minutes after the device started, did not happen again at thirty-three minutes. That is one of the reasons the banner exists: to keep you from concluding that the game is slow, and to spare support a report taken in that window.
The report also notes how long the device has been running: two readings taken at different moments cannot be compared. Let the banner clear, start your match, play for a few minutes, then take the report from the Performance button in the toolbar. The guide to measuring frames per second covers the rest, up to “Send a report”.
Frequently asked questions
Why does my Android emulator lag right after startup?
Because Android has finished starting, but not working: for several minutes, it is still optimizing apps in the background, and a game launched in the middle of that drops frames. Measured on our side, up to a third of them.
How long should I wait after starting the device?
A few minutes. The launcher gives no fixed duration: it keeps reading Android’s load, and the “The device is finishing setting up” banner clears on its own once the load has come back down.
The banner disappeared when I clicked “Play”: has Android finished?
Not necessarily. The banner goes quiet as soon as a game is launched, because the load read afterwards would be the game’s. “Play” stops the background optimization, waits up to 25 seconds for the load to come down, then launches the game.
Why does the banner come back?
It can come back after every new startup of the device, if Android’s load goes above the threshold again. It does not show while the game is running.
Can I send a performance report during those minutes?
Better to wait. A report taken right after startup describes Android’s work, not your match. Let the banner clear, play for a few minutes, then take it from the Performance button in the toolbar.