Bug 14919 - Deployment problem when more than one Android Emulator of same version is running
Summary: Deployment problem when more than one Android Emulator of same version is run...
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Android Add-in ()
Version: 4.1.10
Hardware: PC Windows
: --- normal
Target Milestone: master
Assignee: Greg Munn
Depends on:
Reported: 2013-09-23 04:03 UTC by Tony
Modified: 2014-12-11 07:06 UTC (History)
3 users (show)

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

Screen grab of multi-Mono solution deployment issue (124.03 KB, image/png)
2013-09-23 04:03 UTC, Tony

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 or GitHub 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 Tony 2013-09-23 04:03:49 UTC
Created attachment 4956 [details]
Screen grab of multi-Mono solution deployment issue

Description of Problem:
When trying to run a solution in a Mono Emulator and there is more than one Mono Emulator running (see images in attached), Xamarin Studio gets 'confused'.

Steps to reproduce the problem:
1. Start two (or more) Mono Emulators of the SAME version
2. Run a solution in the Mono Emulator

Actual Results:
Xamarin Studio fail to find or install the solution in the Mono Emulator

Expected Results:
1. warn the user/developer of a multi-Mono Emulator issue, and advise to exit all but one Mono Emulators 
2. allow the user/developer to chose one of the Mono Emulators that is running.

How often does this happen? 
Every time

Additional Information:
If the Mono Emulators are of different versions, this problem does not exist.
Comment 1 Jonathan Pryor 2013-09-24 10:39:49 UTC
If you hit the Refresh button in the Select Device dialog and wait a bit (a few seconds), it should refresh and selectable devices will be rendered in a black font instead of gray. Selecting a target with a black font should work.

Could you please provide the AndroidTools log files? They're located at:     

Comment 2 Mikayla Hutchinson [MSFT] 2013-09-24 14:49:03 UTC
Couple of minor clarifications -

* Refreshing the list is not normally necessary, only when ADB (Android Debug Bridge) stops responding.
* If the list were updated, XS would not allow you to launch multiple instances of each emulator.
* The Android emulator does not normally allow running multiple instances of the same emulator. I don't know whether they removed this requirement recently or if it's just buggy.
Comment 3 Greg Munn 2014-12-11 07:06:48 UTC
Closing, no response. Additionally, there has been significant changes in the integration with XS and the google emulators. If you are having specific issues with emulators please log another bug and provide the android logs as noted above.