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.
Created attachment 11269 [details]
Using Xamarin Android 5.1.(2?) beta channel, our app builds ok, but crashes immediately. on deployment.
Locals window lists this as "AAMI", exception type TypeInitializationException.
Created attachment 11270 [details]
Debug window screenshot
I think we'll need some more information to help track this down if possible.
What is the target device and locale you're seeing this error on?
Is this a new error that you're now seeing with the latest Beta release (220.127.116.11)? Or do you also see the crash when using the current stable version 18.104.22.168?
Finally, would it be possible for you attach a small project or code snippet which reproduces this crash?
After cleaning out the project en masse (deleting bin and obj folders), and toggling the shared runtime option on and off, this issue no longer occurs, and I can no longer reproduce it, the app will run with shared runtime off.
However app now does not run with Shared Runtime option on, with minimal debug output. Using Genymotion emulator, Android 5.0. Have attached sample app that won't run. Should I raise this as a separate issue?
Scrap that, the original issue is happening again on our codebase, this time on a Genymotion 4.1.1 emulator.
Having difficulty putting together a small project that encounters the same problem. I'll keep trying.
22.214.171.124 Had another issue which prevents the app compiling - https://bugzilla.xamarin.com/show_bug.cgi?id=29568
Hence jumping to beta channel in an attempt to keep the app running.
Ok, seems to have stabilised now with a reinstall of Xamarin. Maybe upgrade
process went pear-shaped silently. Sorry for the false bug, will close off.