Bug 24037 - Closing the Android Emulator Window while launching a debug session freezes the build
Summary: Closing the Android Emulator Window while launching a debug session freezes t...
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Android ()
Version: unspecified
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2014-10-24 10:59 UTC by steven.mark.ford.dev
Modified: 2016-12-22 21:13 UTC (History)
6 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description steven.mark.ford.dev 2014-10-24 10:59:18 UTC
1. Kick off debug session on Android emulator via Visual Studio
2. Close android emulator window while building

The build process now hangs (kill Visual Studio to get around this)
Comment 1 Saurabh 2014-10-28 04:23:21 UTC
I have checked this Issue but I am unable to reproduce this Issue at my end. Process get terminated when user close Emulator while building project after Starting debug session. This is the screencast for the same: http://screencast.com/t/uSdn6qv1Wzj

Checked with:
Windows 8.1
VS 2013
XVS 3.7.230

@Steven, Could you please provide me build details on which you are getting this Issue? Also please provide me screencast so that I can reproduce it at my end.
Comment 2 T.J. Purtell 2014-11-05 00:21:29 UTC
It happens to me too a fraction of the time.  E.g. today, 1/3 times I accidentally launched the emulator and closed it, Visual Studio needed to be force quit.
Comment 3 steven.mark.ford.dev 2014-11-05 03:14:31 UTC
It seems to occur when you close the emulator while the VS build still says "emulator is starting. The first time may take a few minutes. Please be patient."
Comment 4 Jose Gallardo 2016-12-22 21:13:12 UTC
As we've introduced several improvements around Android deploying/debugging, I'll mark the bug as resolved fixed.
Please feel free to reopen it if you can still reproduce the issue with current bits.