emulator cannot start up

我与影子孤独终老i 提交于 2019-12-04 04:21:29

问题


I'm just install HAXM installer and Android SDK Tools and finally my AVD can launch. But the problem is it stucks on the android. I've been waiting for 20 minutes but it still not yet start up..

emulator: device fd:664 HAXM is working and emulator runs in fast virt mode creating window 61 83 462 820 emulator: UpdateCheck: current version '24.4.1', last version '24.4.1'

Device Nexus_5_API_23_x86 [emulator-5554] is online, waiting for processes to start up.. Device Nexus_5_API_23_x86 [emulator-5554] is online, waiting for processes to start up.. Device Nexus_5_API_23_x86 [emulator-5554] is online, waiting for processes to start up.. Device connected: emulator-5554 Device connected: emulator-5554

Is it normal? How long it needs for set up? Have I missed install anything? Thanks


回答1:


Increase the memory on your emulator. 1.In android studio go to Tools--->AVD Manager 2. then click the edit button (green crayon) and click on "show advanced settings".




回答2:


Just to add to j2emanue's answer, if you're using command line to start the emulator, you can specify the -memory option. From the emulator -help command:

-memory <size> : physical RAM size in MBs

So you can:

emulator -avd <avd_name> -memory 1024



来源:https://stackoverflow.com/questions/33527421/emulator-cannot-start-up

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