Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio Emulator makes Windows 10 crash

It was all working fine until this morning...

Then I loaded McAfee onto my Windows 10 laptop because the free trial period was up. While doing this I noticed Windows 10 did some updates on a restart.

After that, Android Studio wouldn't run like it had before (earlier this morning), and in particular running the emulator made the system 'blue screen' crash. So I completely removed McAfee. Now the Emulator will start up OK, but the same crash happens when Android Studio tries to load my app (Flutter) into it.

(Fortunately Android Studio will still build an APK for my phone, so not everything is lost.)

What's going on?? Have I (or McAfee) mucked up some security setting on the PC, so the Emulator can't talk to Android Studio? Loads of disc space so it's not that ... I'm a bit stuck for what to try next ...

like image 338
Bill Avatar asked Apr 15 '20 15:04

Bill


People also ask

Why does Android emulators crash my PC?

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 does my app crashes everytime I open it in Android Studio?

An Android app crashes whenever there's an unexpected exit caused by an unhandled exception or signal. An app that is written using Java or Kotlin crashes if it throws an unhandled exception, represented by the Throwable class.

How do I turn off Android Emulator?

Run and stop an emulator, and clear data To stop a running emulator, click Menu and select Stop. To clear the data for an emulator, select Wipe Data.


1 Answers

Try this:

Click on the AVD icon, right click on the installed AVD, click Wipe Data then start it.

like image 152
Marcos Maliki Avatar answered Oct 17 '22 03:10

Marcos Maliki