Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Emulator freezes

Until the last SDK release, my Android Emulator worked very nice with x86 architecture, installing Intel HAXM and enabling GPU for the device in AVD Manager.

With the latest SDK release, I reinstalled my Windows (from 8.0 to 8.1), tried both 1.06 and 1.07 Intel HAXM and my app freezes quite frequently.

It doesn't freeze to death, just the freezes/does not updates the screen anymore.

Especially if I'm swiping a ViewPager, then it freezes almost always in between pages.

BUT, if I click a menuitem on the AppBar, it refreshes itself and draws the destination ViewPage page.

I'd appreciate any advice, because right now app development via emulator became ultrapainful.

like image 866
Csabi Avatar asked Apr 07 '14 18:04

Csabi


People also ask

How do I fix frozen Android Emulator?

Fix 1 – Stop Emulator from AVD Manager From Android Studio, select “Tools” > “Android” > AVD Manager. Right-click the emulator you are using, then choose “Stop“. Try running the emulator again.

Why are my emulators freezing?

Checking for adequate disk space. To avoid crashes and hangs caused by not having enough free disk space, the emulator checks for sufficient free disk space on startup, and will not start unless at least 2 GB is free. If the emulator fails to start for you, check to see that you have adequate free disk space.

Why is my Android Emulator not working?

If the Android Emulator does not start properly, this problem is often caused by problems with HAXM. HAXM issues are often the result of conflicts with other virtualization technologies, incorrect settings, or an out-of-date HAXM driver. Try reinstalling the HAXM driver, using the steps detailed in Installing HAXM.


1 Answers

My emulator froze and I couldn't fix it with the other answers, but this solved it:

  1. Tools->AVD Manager

  2. In the Actions column for your virtual device, click the white arrow on the right and then click Wipe Data.

This will clear the cache for the virtual device.

If your app depends on Google Play services, you will need to update it again

like image 66
Gimme the 411 Avatar answered Sep 17 '22 13:09

Gimme the 411