![android emulator for xamarin on mac execution failed after closing android emulator for xamarin on mac execution failed after closing](https://us.v-cdn.net/5019960/uploads/FileUpload/ef/3b061a0f39d4808b76919a72ca03a6.png)
- #Android emulator for xamarin on mac execution failed after closing install
- #Android emulator for xamarin on mac execution failed after closing update
I tried to uninstall, repair, execute devenv.exe with all kind of “reset” flags, etc. After reinstallation, just after the splash screen I got this empty modal dialog (and the main screen was not shown): So I uninstalled VS 2015 again and this time I deleted registry entries and remaining folders on disk. When I reinstalled VS 2015 and launched it, the main window did not respond to mouse clicks, only a “ding” sound, as if it was shown an invisible modal dialog. But I forgot to delete the Visual Studio entries in the Registry and remaining folders on disk. And I went to the Control Panel and I removed tons of stuff that were related to Visual Studio. And I uninstalled VS 2010 too, which anyway was suffering a crash for months each time I tried to show the properties page of any project. Visual Studio 2015 got an inconsistent state as a result. I could only recover it going back to a restore point.
#Android emulator for xamarin on mac execution failed after closing update
The solution is to update to Trend Micro Antivirus+ 2017, as explained in their web page Getting stuck on Windows Startup Repair after updating Trend Micro Security.
![android emulator for xamarin on mac execution failed after closing android emulator for xamarin on mac execution failed after closing](https://i.stack.imgur.com/1nV7d.png)
Update Nov 9, 2016: The BSOD crash APC_INDEX_MISMATCH was caused by an update to the Trend Micro Antivirus+ 2016. Anyway, my Surface laptop suffered a horrible BSOD at startup (APC_INDEX_MISMATCH or similar). I don’t know how it happened exactly: I think that I deleted an existing Hyper-V virtual machine with the Visual Studio emulator for Android that I installed days ago for a Xamarin course and that I had to uninstall because in turn I had uninstalled Xamarin because it slowed my VS 2015 startup quite noticeably and Xamarin projects took minutes to create using the New Project menu (I want to love Xamarin, so I will use Xamarin Studio on my Mac).
#Android emulator for xamarin on mac execution failed after closing install
The other day I created a Hyper-V virtual machine on the Surface 4 Pro that I use at work to install VS “15” Preview 5. Also, it is painfully slow to install unless your computer is fast and has a SSD. Microsoft knows it and so it recommends to install betas and previews on non-production machines, that is, on virtual machines. In its current incarnation VS 2015, but also from its origins in VS.NET 2002, it is such a huge piece of software, composed of so many parts, that it’s quite fragile and not very resilient. For the most part, I love Visual Studio, but some weeks I hate it very deeply :-).