When I starts android emulator in android studio ; after boot completes this window opens :
and emulator hangs . How can I fix this problem ?
When I starts android emulator in android studio ; after boot completes this window opens :
and emulator hangs . How can I fix this problem ?
In my case, cold reboot resolves the issue on an OSX machine.
Hope the interface will be almost similar to Linux and Windows machine and the fix will workout there too.
I found some solutions in this page : Error Message: emulator-arm.exe has stopped working
In this page suggests changing of resolution and RAM and you should decrease them. When I decrease my resolution It fixes this problem .
Try to use a low-resolution device, when I selected Nexus 4 it kept running smoothly with me. If it doesn't work. try this:
If you want to have graphics acceleration enabled by default for this AVD, in the Hardware section of the AVD configuration, click New, select GPU emulation and set the value to Yes.
Beyond other possible solutions, what worked to me was to change the "Emulated performance" option to "Software".
I have tried changing the resolution, RAM size, Emulated performance graphic type, etc.. but none of them worked. Finally, I found that the android version image was my problem(Android P) so I downloaded a different version image and it worked fine
If the virtual device was previously working, try to wipe user data. Go to the AVD manager, select the virtual device action and click on "Wipe data" (Wipe the user data of this AVD)
Here is how I fixed it:
In the AVD Manage-> Create Virtual Device... -> New Hardware Profile
That device never throws that error and works faster.
You can try doing cold reboot from Android Studio. It'll work normally then. I guess it usually happens when your PC/laptop goes into sleep mode, with emulator, debugger running in the background.
Solution 1:
Decrease API level resolves the issue on an Windows machine.
Solution 2:
Try to use a low-resolution device, If it doesn't work. try this:
If you want to have graphics acceleration enabled by default for this AVD, in the Hardware section of the AVD configuration, click New, select GPU emulation and set the value to Yes.
Solution 3:
Follow Steps: