AVD Emulator stuck on loading screen in Android Studio

孤街浪徒 提交于 2019-12-03 10:33:43

You should Increase your ADB emulator Heap to the minimum required.

in your case: 512M

into your AVD Manager:

- Click Edit on your Emulator
- "Show Advanced Settings" at the bottom
- Go to: "Memory and Storage"
- Edit the VM heap value to 512 MB
- Finished

Image:

Works for me.

For me this worked: in AVD click on the small arrow then "Wipe data".

After that, it successfully started - passed the android logo screen - although a bit slowly.

Unfortunately, increasing the heap size didn't help in my case. The virtual device was actually running fine before with the previous amount of heap.

What I eventually ended up doing was just creating a new virtual device through the AVD manager leaving most of the fields the default value. The new device ran fine and booted up as expected and was able to run my app. It's possible something in my first virtual device became corrupted.

I also had the same problem with my AVD. After lots of trial and error I arrived at a solution for my problem. the problem was with the Heap size and the RAM size. Initially the default heap size was 128 MB and RAM was 1563 , I just changed the heap size to 512 MB and reduced the RAM size( high RAM was making my pc run slow) also I enabled hardware acceleration. And Yipeee, it worked.

I had the same problem. I'm running El Capitan 10.11.5 with a 2.0GHz Intel Core 2 Duo and 8GB RAM, Android Studio 1.5.1.

After upgrading to Intel x86 Emulator Accelerator (HAXM Installer), rev 6.1.1 and deleting my API 14 SDK and related files, the newly installed API 23's Google APIs Intel x86 Atom System Image would not get past the Android logo screen.

After much trial & error, the Intel x86 Atom System Image (not Google APIs Intel x86 Atom System Image) for API 15 finally loaded the home screen on the emulator after ~ 8 min and one android system crash.

Will try the Intel x86 Atom System Image for API 23 later. Hope that helps.

I had the same problem and none of the steps listed here helped me, either.

But since the solution that worked for me was not mentioned here yet, I thought it might help you or one of the others finding this thread:

What did work for me was disabling certain settings in my Avast Antivirus as proposed by the Android studio troubleshooting page here.

My version of Avast did not have the setting "Use nested virtualization when available", however just turning off "Enable Hardware assisted virtualization" (note: restart is required for it to take effect) solved the problem just fine.

So if you are using Avast or another Antivirus which manipulates virtualization, be sure to look through the correspondent settings.

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