Android emulator refuses to boot

前端 未结 4 1064
醉梦人生
醉梦人生 2020-12-31 03:37

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

相关标签:
4条回答
  • 2020-12-31 04:19

    I faced same problem on my laptop using I5 8GB RAM. The only solution that worked for me was connecting the laptop charger when launching the emulator. May sound wierd but this always works for me.

    0 讨论(0)
  • 2020-12-31 04:33

    Android emulator release 9 has new "snapshot" feature. You can save state of emulator (make image of emulator) and avoid booting when you start the emulator.

    0 讨论(0)
  • 2020-12-31 04:33

    I see a similar problem while attempting to run applications on an emulator while the emulator isn't started yet. I find that starting the emulator manually via the "Window > Android SDK and AVD Manager" will load in just a couple minutes or faster, as expected. After the emulator is started manually in this way, you can load applications into it without issue.

    0 讨论(0)
  • 2020-12-31 04:43

    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 :)
    0 讨论(0)
提交回复
热议问题