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.
# Steps to reproduce
1. Deploy a store version of an app to device (signed with a key different than the default Android debug key).
2. From VS2015, start a new debug session for the same app (ensure it is a debug session which use the default Android debug key).
# Expected behavior
Debug session should start
# Actual behavior
VS freeze at different point during the process depending on whether the solution has been cleared previously
# Supplemental info (logs, images, videos)
After attaching to the process of the first frozen VS instance from a new one, I have been able to browse local variable and retrieve the full log, with the exception which seemed to have frozen it.
After that, I resumed the second VS instance (the one used to capture the stacktrace) which seemed to have unlocked the first VS instance. I can't tell if it is my actions in the second instance which have unlocked it, or if it was only due to some kind of timeout.
Base on the logs, it appeared that I had a signature issue preventing VS from deploying.
After removing the package manually, issue was gone.
This is a regression as I was previously able to see this error (Mono.AndroidTools.InstallFailedException: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]) in the output pane without having VS freezing in the meantime.
Find in attachment:
1. 2016-09-23 11_23_44-Distech.X50.png: a screenshot of the ouput pane from the frozen VS instance.
2. VS stacktrace - Worker thread.txt: the stacktrace captured from the second VS instance.
3. $exception.Message local variable.txt: the log extracted from the local variable pane in the second VS instance. It took times to the debugger to gain this variable value.
# Test environment (full version information)
Microsoft Visual Studio Enterprise 2015
Version 14.0.25431.01 Update 3
Microsoft .NET Framework
Xamarin 22.214.171.1240 (c4382f5)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin Inspector Support 0.9.0.14 (4d868da)
Adds support for inspecting Xamarin and WPF apps.
Xamarin.Android 126.96.36.199 (0e59c36)
Visual Studio extension to enable development for Xamarin.Android.
Xamarin.iOS 10.0.0.6 (6c3fee4)
Visual Studio extension to enable development for Xamarin.iOS.
Android SDK Tools 25.2.2
Android SDK Platform-Tools 24.0.3, 24.0.2, 24.0.1
Android SDK Build-Tools 23.0.2
Created attachment 17710 [details]
Capture of the frozen VS instance
Created attachment 17711 [details]
Stacktrace of VS 2015 instance
Created attachment 17712 [details]
The logs obtained from the second VS instance
After more testing, it appears that VS will froze only for a few minutes then recover to show the full log.
I'm facing the same issue.
There is one workaround (on every freeze).
Kill Java SE binary process in Task Manager. Build automatically continues.
@Hrvoje not sure whether this workaround can impact the result of the build process...
There is no impact to the build process.
Fixed in monodroid/master/433c20b4