Android Studio Emulator not starting

你离开我真会死。 提交于 2019-12-10 16:57:20

问题


Because the emulator was really slow I installed the intel x86 emulator. I changed the settings in my emulator (ARM to intel atom). Now when I run a project it takes me to the emulator selection screen and when I select it, the project starts running, but the emulator doesn't pop up.

I tried switching the cpu back to ARM, but it still doesn't work.

When I close Android studio it asks me if I want to disconnect from the project so I'm sure it is running. I came across a few posts that said to give the device 768 ram, but that didn't work.

Anyone knows a solution?


回答1:


I was facing the exact same issue, but for me reducing the device RAM to 768 did fix it. Therefore I'd suggest continuing to decrease the RAM values and trying to launch it.




回答2:


How about to use Rock speed Emulator - Genymotion?

I know it sometimes take time to launch emulator and launch app in emulator too. But it depends on your configuration of your PC and settings you have done in Eclipse or Android Studio.

For example: You may have kept "Build Automatically" ON and it sometimes slow down running time.




回答3:


My current rep is not high enough yet to comment on another answer, so I am adding a new "answer" to +1 Paresh Mayani's answer to use Genymotion. I only recently discovered it and found it to be much much faster than the emulator. Instead of emulation it runs an Android rom in a VM using VirtualBox. I've found that it runs full speed on my machine and is just as fast in debug mode as normal mode, which is impressive since even my Nexus 5 struggles when connected to a debugger.




回答4:


In my case also x86 was creating problem, I installed Android 5.0.1 armeabi-v7a and have set 768MB as RAM size and it worked.




回答5:


Try to check and run the emulator ie. store a snapshot for faster startup... I have tried that by checking the button and works fine.




回答6:


If you're using an AMD machine try using the "ARM EABI v7 system image". For an intel chip use the "APIs Intelx86 Atom system image". Also, try a different tablet from the Android Studio settings e.g(Nexus 6), as the API level might not be supported from in the Nexus5 VM. You will also have a little wait time for the android emulator, mine takes about 7mins



来源:https://stackoverflow.com/questions/18978403/android-studio-emulator-not-starting

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!