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.
Unable to deploy android application on release mode in windows on device as well as on emulator, application gets crashes as soon as launch on device or emulator. However its working fine with X.S on mac and windows.
We have tested with Button sample, Rotation Demo and JetBoy. But we are successfully able to deploy Android Templates.
Xamarin.Android log: https://gist.github.com/atin360/24e265ce110f17c11c67
Debug output: https://gist.github.com/atin360/eb9f1c023ea20059c289
Samsung s4 4.2.2
Samsung s2 2.3.3
Regression Status: This issue also exists with stable MFA 4.6.8-7
peterc: i also don't understand bug #13385; mohit claims to have both Xamarin.Android log and Debug output, but i see no logcat
peterc: and the "Xamarin.Android log" and "Debug output" both look like monodroid.log to me
yeah, those logs are the same I think
and there is no logcat as far as I can tell
kinda hard to say what's going on there
but attempting to repro I hit the same debug output they posted
(when just clicking start in release configuration, rather than specifying 'start without debugging')
and if you hit Start Without Debugging, does it still crash?
so I believe it's invalid, I'll update it
no it works as intended
k. sounds good then
it'd be a nice enhancement to have the start button default to Start Without Debugging in release config though
if that's possible
Mohit, please attempt to deploy these samples by going up to the Debug tab, and selecting "Start Without Debugging", as seen in the following screencast:
Selecting "Start Without Debugging" should allow the applications to deploy successfully in Release mode.
Unfortunately, simply pressing the "Start" button when the configuration is set to release will still attempt to "Start Debugging". I have filed a potential enhancement for this behavior, but in the mean time you will need to explicitly select "Start Without Debugging" from the DEBUG drop-down menu when attempting to deploy in release mode from Visual Studio.
Please reopen this bug if the above steps do not resolve this issue.