This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Why the emulator is so slow?  RSS feed

 
Rehan Zahoor
Ranch Hand
Posts: 85
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
Ranch Hand
Posts: 36
Android Java Ruby
  • 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: 84
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
Bartender
Posts: 18709
71
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!