• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why the emulator is so slow?

 
Rehan Zahoor
Ranch Hand
Posts: 83
Android Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I see "Why the emulator is so slow?" in contents while leaving androidVille in the book HF Android Development. This is a more serious problem then it seems at first. I had trouble running an emulator on my little core 2 duo, 4 GB RAM. And have to use Ready Boost on windows 7 to get it going.
Do you really have some solutions to this problem. As the contents suggest.
 
Marc Laffan
Greenhorn
Posts: 26
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try Genymotion out, it's meant to be far superior to the emulator.
 
David Griffiths
Author
Ranch Hand
Posts: 45
5
Android Python Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Rehan,

The reason it's so slow compared to the iOS Simulator, is given in the name: it's an emulator not just a Simulator. So it tries to completely emulate the hardware environment. You can speed it up by saving snapshots to reduce boot time. And you can use hardware acceleration if you have an Intel chip. We have an appendix about this.

Also, see the definition of WTF

https://github.com/dogriffiths/HeadFirstAndroid/wiki/Glossary

Dawn and David
 
Tim Holloway
Saloon Keeper
Posts: 18359
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's actually booting up an entire copy of the Android OS.

Which, if your phone is anything like mine, takes quite a while even when doing so natively.

The only thing that made Android development tolerable for me was that once the emulator was running, I could update the app without restarting the emulator.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic