Android emulator hanging on startup?

后端 未结 6 1337
北荒
北荒 2021-02-20 11:36

I\'ve been modifying/editing parts of the Android platform, but have run into a problem when trying to test my edits. After making my changes to the platform source, I was able

6条回答
  •  死守一世寂寞
    2021-02-20 12:23

    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. Edit to see the setting and remember them.
    5. Delete the emulator.
    6. Create a new one that is the same as the old one.
    7. Start the emulator from here with the start button.

    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. Rebooting my laptop didn't help, which made me think it was a problem with the emulator settings, and I stumbled on this solution.

    • 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 when you create or edit the emulator, this lets you do faster startup next time.
    • Note #3: My new emulator came up in chinese. That's kinda of weird :)

提交回复
热议问题