简体   繁体   中英

Android Emulator won't start up

When I ran my android emulator, I got the following black window. I waited for a long time and nothing came up.

There is also no logs in the eclipse console.

I am sorry this is not informative.. If you point me to a location for log files I would love to prove more information.

[EDIT] sorry if I weren't clear. I meant to ask, for thsi sort of emulator problem, other than trial and error, how do I really diagnose it? where is the log file I can trace down to?

在此输入图像描述

I had the same problem on OSX, I've solved that by :

  1. Go to .android directory (in my case it was Users/<username>/.android
  2. Go to avd folder
  3. Find the emulator that won't start (directory name will be the same as emulator)
  4. Remove all .img files from there. Do not remove .ini files.
  5. Try to run the simulator again.

This can be because you do not have enough RAM. It does take up a lot of time to start up if you are running it for the first time. What I suggest is using Genymotion as it is way faster than Android stock emulator.

If you insist on using the stock emulator, make sure the save snapshot option is checked so that the emulator starts up faster the next time.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM