Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
As i talked here: https://forums.xamarin.com/discussion/61392/deploy-debug-application-in-multiple-devices-android?new=1
and here: http://stackoverflow.com/questions/35601461/deploy-debug-application-in-multiple-devices-xamarin-android
i would like to request a feature that exits in Android Studio that is run in debug the application in multiple devices.
I don't know if I understand your request. Are you suggesting that you be able to debug the same app on multiple devices simultaneously? How does that even work? Or are you asking to just be able to *deploy* the app to multiple devices at the same time? Then what?
Can you elaborate a little more on how you think this could or should work.
Im sorry for my not so clear explanation.
I, and, other developers that i talked too, think that would be very good to have something like android studio has.
the feature that i am requesting is to deploy the application to as many devices/emulators as i have connected to my machine.
this would be very important when testing some features in different devices.
Of course, for debug we can only use one device. But for run would be nice to could select and run the app simultaneously in all connected devices/emulator.
thanks. please give me some feedback.
Ok, thanks. That makes it clearer.
This sounds like it should be possible to provide a way to do this. The only issue I can think of is that when building with Fast Deployment (or the up coming Instant Run support) there might be some issues with how the builds are cached.
If there is any way to deploy the app witout the fast deployment it would be ok.
But if you find a better way (using the Fas Deployment\Instant run).
Do you expect any possible release date or even start to implement this feature?
I can't give you a date for this at this time.
Ok. Thank you.
Fixed in version 22.214.171.1248 (master)
Author: Greg Munn
Commit: 34709d3b07f2ef75ea7dca7fa360dd1eee8819ee (xamarin/md-addins)
Included in Commit: f7dcfd426606508d28836970af15ab9735f079b4 (mono/monodevelop)
Greg, with the commit hash i can't find the commit.
If this is public, could you give me the commit url on github?
No, it's not public. The android / ios addins to Xamarin Studio are proprietary code. It will be released in Cycle 8 (Cycle 7 just went to stable).
Thank you again Greg.
Hi Greg, i've been looking (https://developer.xamarin.com/releases/studio/xamarin.studio_6.1/xamarin.studio_6.1/ and https://releases.xamarin.com/beta-preview-4-cycle-8/) in the release notes from cycle 8 in xamarin studio and android releases and didn't find any information regarding the addition of this feature? What I'm missing? Thank you.
Sorry, good catch. I forgot to add this to the release notes.
It's in the current beta, basically what we could do was to provide a prompt to select which devices you wanted to deploy your app to when you use "Run | Upload to Device". We could not do that during the debug or run experience because that wouldn't work with the device selector (and other issues like what happens if the app stops on one device and not others, does the "play" button change state etc).
For simple uploads though it will work and you can deploy to multiple devices.
Finally it was release been waiting for this for so long.
But when I read carefully what you said I got so sad.
The feature I was talking about is SIMILAR to android studio. There you can make the application RUN in multiples devices at the same time. Its not needed to debug it. Its just to run the apps on de devices.
This is very helpful if I have 3 android simulator and i want to see how the layout fit in all 3 devices without running one by one.
I guess my original request was't to clear.
Did you understand what I'm requesting now?
I think I understood you correctly, but I wasn't clear enough at the beginning. Right now the user experience for Xamarin Studio doesn't support what you're after. When the user presses "Run" in Xamarin Studio, regardless of debugging or not, Xamarin Studio monitors the app. If the app stops, then the play button changes from a stop button back to a play button. Similarly, if the user presses the stop button then Xamarin Studio stops the app.
This doesn't really translate well to a case with multiple instances of the app being monitored. What should happen if one of them stops? should Xamarin Studio change state from showing the stop button back to the play button and so on.
However, currently (prior to this update), it wasn't easily possible to deploy the app to multiple devices without having to go and select each device separately and then deploy which I can understand would be a tiresome exercise if you have 3 or 4 or more devices. So, this is an improvement at least.
If you're just launching the app, for now, you could just write a script which calls
adb -d <deviceid> shell am start <the package/activity>
Thanks again for your time.
Yes, it was my bad not being fully clear when requested this. The feature you implemented its good , and will let me do what I want using some kind of scripting like you said.
However the feature I suggest its a big improvement and a really time saving for android developers, since developing for android as many different screen sizes and densities.
With this feature I request Xamarin sutio doesn't need to monitor any of the apps at all. When could have another button only visible when android project is set as default that allows the developers to Ru on multiple devices. When the user press that button the developer can mark what devices to lauch the app. Them the .apk installed in every device and then launched. This type of launch is like fire and forget. Xamarin sutio won't monitor anything in that launched apps.
Should I open and improvement for this, or something else?
You can file a new request if you like. Reference this one in the comments.
BTW, I understand that the designer supports viewing your layouts in different sizes / devices as well.
Yes, i know that, but there are somethings that the designer can tell. Real device is always needed, or simulator.