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 ...
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.
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.
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.
Try this:
Click on the AVD icon, right click on the installed AVD, click Wipe Data then start it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With