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 3971 [details]
logcat output from emulator, see line 333
I have a very simple app consisting of the following classes. Running it in the emulator results in an unsupported exception. I added the entire logcat output for completeness. The first relevant exception can be found at line 333. Please let me know if additional information is required.
[Activity(Label = "Android", MainLauncher = true, Icon = "@drawable/icon")]
public class Activity1 : Activity
protected override void OnCreate(Bundle bundle)
SetContentView(new View1(this, null));
public class View1 : View
public View1(Context context, IAttributeSet attrs) :
LayoutChange += LayoutChanged;
void LayoutChanged(object sender, LayoutChangeEventArgs e)
LayoutChange -= LayoutChanged;
*** Bug 12049 has been marked as a duplicate of this bug. ***
Fixed in monodroid master/1b6077b9.