Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emulator taking too long time to launch

Tags:

android

Whenever I am trying to launch my emulator it launches but only the android logo is shown ,after waiting for many hrs also it does not work.

Device-3.2"QVGA(ADP2)320*480 (mdpi)
API Level-17

like image 348
sakshi Avatar asked Mar 23 '15 13:03

sakshi


People also ask

Why does emulator take so long to start?

Google emulator uses ARM opcode, a kind of machine language. It must convert from ARM opcode to Intel opcode. That's why it's slow.

Why is my emulator so slow?

The Android Emulator is very slow. The main reason is because it is emulating the ARM CPU & GPU, unlike the iOS Simulator, which runs x86 code instead of the ARM code that runs on the actual hardware.

Why emulator is not opening?

If the Android Emulator does not start properly, this problem is often related to discovering that your application's minimum SDK is higher than your emulator SDK. If that's not the case, make sure you have HAXM installer on your SDK Manager.

How long does Android emulator take to start?

When developing for Android do you typically need to stop the emulator and restart it every time you make a change to your Java code or is there a faster way? The emulator takes about 1.5 minutes to start for me, is this normal? For me the emulator takes 5 minutes to start, and I find it normal.


2 Answers

Try allocating more memory for it to use. The Android Emulator is super slow as it is, but if you are not giving it enough memory it has the ability to never load.

like image 141
urnotsam Avatar answered Oct 31 '22 04:10

urnotsam


It's well known that the factory emulator is extremly slow. The trick here is that the factory emulator needs to run on an ARM machine, so it needs to convert the ARM calls to your your x86 (or 64 bits) processor calls. It's likely to never run fast at all. In this situation, you may want to trust on the factory x86 images that make use of Intel's HAXM drivers, not available to everyone, and I couldn't manage to make it work myself, but it's useful to know that.

However! Since a while ago, I started using Genymotion's emulators. They rely on an actual virtual machine, which is way way faster than anything a factory emulator could achieve. Even if I'm running it on the lowest Mac Mini out there, it's pretty smooth. I'd personally give it a try (well, precisely, I gave a try)

https://www.genymotion.com/

like image 22
Sergi Juanola Avatar answered Oct 31 '22 03:10

Sergi Juanola