sakshi
sakshi

Reputation: 169

Emulator taking too long time to launch

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

Upvotes: 16

Views: 40617

Answers (7)

Lestlin Robins
Lestlin Robins

Reputation: 11

Try creating the Android virtual device with more RAM than usual. The usual is 1 GB. Even though I tried this on another lower end PC, it was still slow. I think it can be a problem with your hardware. Lower end hardware tends to have problems running emulators.

Upvotes: 0

The problem seems not to be RAM but CPU. Improving CPU will improve the emulator.

Upvotes: -1

Vishal Agrawal
Vishal Agrawal

Reputation: 344

If it is taking too much time in loading make sure you have installed the "HAXM installer" in SDK tools , Also make sure "Hyper V" option is also unchecked in "Turn Windows features on or off" in Control Panel --> Program and features.

Only After unchecking this feature you can install the HAXM installer.

After doing this the Emulator will not take time to load.

Upvotes: 0

Sergi Juanola
Sergi Juanola

Reputation: 6647

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/

Upvotes: 3

Krishan
Krishan

Reputation: 79

If you are using your emulator in windows than you can use Microsoft Andriod Emulator.

Install microsoft android emulator in your windows os

Upvotes: 1

Pankaj Kumrawat
Pankaj Kumrawat

Reputation: 61

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. The problem seems not to be RAM but CPU. Improving CPU will improve the emulator.

References to solve this issue:

Making the Android emulator run faster

Upvotes: 1

urnotsam
urnotsam

Reputation: 770

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.

Upvotes: 2

Related Questions