Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android emulator refuses to boot

I'm an Android newbie trying to learn how to port one of my apps to the Android platform. I've been following this tutorial:

http://www.vogella.de/articles/Android/article.html#overview

I'm stuck unable to boot up the emulator :( When I tell it to start, it would just stick at the "Android" boot animation for hours on end. I searched online and found some pages talking about disabling the boot animation. I did so and tried again. There's no boot animation (just the word "Android" flashing), but it's still hours with no sign of booting. 'top' shows an app called 'emulator' using a lot of CPU.

Am I doing something wrong? My system is an AMD Athlon X2 dual-core QL-60, 1900 MHz with 3GB ram.

Thanks for any help you can offer.

like image 462
Karen Avatar asked Aug 08 '10 06:08

Karen


People also ask

How do I enable Android Emulator?

Run your app on the emulator After you have created an Android Virtual Device (AVD), you can start the Android Emulator and run an app in your project: In the toolbar, select the AVD that you want to run your app on from the target device drop-down menu. Click Run.


1 Answers

I had this problem and fixed it by deleting the emulator and creating a new one. In eclipse:

  1. Menu Window -> Android SVK and AVD Manager
  2. Select Virtual devices (should be selected already)
  3. Select the emulator giving you problems
  4. Click edit to see the setting and remember them, click cancel.
  5. Click delete to delete the emulator.
  6. CLick create to create a new one that is the same as the old one.
  7. Click start.

It started in about 30 seconds after I did that.

Normally the emulator starts in about 2-3 minutes for me. Then it mysteriously stopped working. I was seeing boot animation for 30 minutes before I gave up.

  • Note #1: Doing this will wipe your user data.
  • Note #2: As mentioned else where, it's a good idea to check "Enabled" for the snapshot, this lets you do faster startup next time.
  • Note #3: Also my new emulator came up in chinese. That's kinda of weird :)
like image 114
Jay Avatar answered Nov 09 '22 22:11

Jay