Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make Android emulator boot faster

Tags:

java

android

I'm currently stuck with using Atom CPU desktop for my Android app development. What are the ways to improve its boot time. When running the emulator I can see that the number of cores used by the emulator is just one, I'm running the emulator from within the Eclipse ADT plugin.

  • How can I make the emulator use two cores instead of just one?
  • What are the emulator setting that will make boot faster?

My android project will be mainly a PhoneGap + jQuery android app.

like image 927
quarks Avatar asked Jun 14 '12 16:06

quarks


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. The problem seems not to be RAM but CPU.

Why is my Android Emulator so slow?

Android Emulator runs slowly after an update If your machine has both an Intel HD 4000 GPU and a discrete GPU, disable the Intel HD 4000 GPU in Device Manager to ensure you are using the discrete GPU. Try running the emulator using the -gpu angle , -gpu swiftshader , or -gpu guest modes.


1 Answers

How can I make the emulator use two cores instead of just one?

You can't, sorry.

What are the emulator setting that will make boot faster?

You should try to use one of the x86 emulator images (available now for 4.0.3 and 2.3.3). Beyond that, I am aware of nothing that will speed up the boot time.

Note that you can leave your emulator running for extended periods of time -- you don't need to close and reopen it to run a new copy of your app, for example.

like image 108
CommonsWare Avatar answered Oct 22 '22 18:10

CommonsWare