- Immediate crash after application begins
- "WorkingWithMaps" and "MobileCRM" from https://github.com/xamarin/xamarin-forms-samples (both use Maps)
- Host system is Windows 8.1
- Tried in Nexus 10 KitKat, Nexus 4 Lollipop emulators
- Tried on physical HTC Desire 320 device (Android 4.4)
- Tried with both Xamarin Studio and Visual Studio 2015 Community
Here is the log.
09-14 16:37:47.753 I/MonoDroid( 2549): UNHANDLED EXCEPTION:
09-14 16:37:47.757 I/MonoDroid( 2549): System.NullReferenceException: Object reference not set to an instance of an object
09-14 16:37:47.757 I/MonoDroid( 2549): at Xamarin.Forms.Maps.Android.MapRenderer.OnLayout (bool,int,int,int,int) <IL 0x00044, 0x0014e>
09-14 16:37:47.757 I/MonoDroid( 2549): at Xamarin.Forms.Platform.Android.FormsViewGroup.n_OnLayout_ZIIII (intptr,intptr,bool,int,int,int,int) <IL 0x00012, 0x00092>
09-14 16:37:47.757 I/MonoDroid( 2549): at (wrapper dynamic-method) object.95c4f9f6-6d4a-4aaa-857e-cdadfbdcb7f8 (intptr,intptr,bool,int,int,int,int) <IL 0x0002f, 0x0005b>
09-14 16:37:47.761 I/MonoDroid( 2549): UNHANDLED EXCEPTION:
09-14 16:37:47.761 I/MonoDroid( 2549): System.NullReferenceException: Object reference not set to an instance of an object
09-14 16:37:47.761 I/MonoDroid( 2549): at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <IL 0x00011, 0x0004b>
09-14 16:37:47.761 I/MonoDroid( 2549): at Android.Runtime.JNIEnv.CallNonvirtualVoidMethod (intptr,intptr,intptr,Android.Runtime.JValue*) [0x00084] in /Users/builder/data/lanes/2058/58099c53/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:1029
09-14 16:37:47.761 I/MonoDroid( 2549): at Android.Runtime.JNIEnv.CallNonvirtualVoidMethod (intptr,intptr,intptr,Android.Runtime.JValue[]) [0x0001d] in /Users/builder/data/lanes/2058/58099c53/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:1036
09-14 16:37:47.761 I/MonoDroid( 2549): at Xamarin.Forms.Platform.Android.FormsViewGroup.MeasureAndLayout (int,int,int,int,int,int) <IL 0x00160, 0x007f7>
09-14 16:37:47.761 I/MonoDroid( 2549): at Xamarin.Forms.Platform.Android.VisualElementTracker.UpdateLayout () <IL 0x000c6, 0x0034d>
09-14 16:37:47.761 I/MonoDroid( 2549): at Xamarin.Forms.Platform.Android.VisualElementRenderer`1<Xamarin.Forms.View>.UpdateLayout () <0x0003b>
09-14 16:37:47.761 I/MonoDroid( 2549): at Xamarin.Forms.Platform.Android.VisualElementRenderer`1<Xamarin.Forms.View>.OnLayout (bool,int,int,int,int) <0x000f7>
09-14 16:37:47.761 I/MonoDroid( 2549): at Xamarin.Forms.Platform.Android.FormsViewGroup.n_OnLayout_ZIIII (intptr,intptr,bool,int,int,int,int) <IL 0x00012, 0x00092>
09-14 16:37:47.761 I/MonoDroid( 2549): at (wrapper dynamic-method) object.95c4f9f6-6d4a-4aaa-857e-cdadfbdcb7f8 (intptr,intptr,bool,int,int,int,int) <IL 0x0002f, 0x0005b>
09-14 16:37:47.773 I/MonoDroid( 2549): UNHANDLED EXCEPTION:
09-14 16:37:47.773 I/MonoDroid( 2549): System.NullReferenceException: Object reference not set to an instance of an object
09-14 16:37:47.773 I/MonoDroid( 2549): at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <IL 0x00011, 0x0004b>
09-14 16:37:47.773 I/MonoDroid( 2549): at Android.Runtime.JNIEnv.CallNonvirtualVoidMethod (intptr,intptr,intptr,Android.Runtime.JValue*) [0x00084] in /Users/builder/data/lanes/2058/58099c53/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:1029
09-14 16:37:47.773 I/MonoDroid( 2549): at Android.Runtime.JNIEnv.CallNonvirtualVoidMethod (intptr,intptr,intptr,Android.Runtime.JValue[]) [0x0001d] in /Users/builder/data/lanes/2058/58099c53/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:1036
09-14 16:37:47.773 I/MonoDroid( 2549): at Xamarin.Forms.Platform.Android.FormsViewGroup.MeasureAndLayout (int,int,int,int,int,int) <IL 0x00160, 0x007f7>
09-14 16:37:47.773 I/MonoDroid( 2549): at Xamarin.Forms.Platform.Android.VisualElementTracker.UpdateLayout () <IL 0x000c6, 0x0034d>
09-14 16:37:47.773 I/MonoDroid( 2549): at Xamarin.Forms.Platform.Android.VisualElementRenderer`1<Xamarin.Forms.View>.UpdateLayout () <0x0003b>
09-14 16:37:47.773 I/MonoDroid( 2549): at Xamarin.Forms.Platform.Android.VisualElementRenderer`1<Xamarin.Forms.Page>.OnLayout (bool,int,int,int,int) <0x000f7>
09-14 16:37:47.773 I/MonoDroid( 2549): at Xamarin.Forms.Platform.Android.FormsViewGroup.n_OnLayout_ZIIII (intptr,intptr,bool,int,int,int,int) <IL 0x00012, 0x00092>
09-14 16:37:47.773 I/MonoDroid( 2549): at (wrapper dynamic-method) object.95c4f9f6-6d4a-4aaa-857e-cdadfbdcb7f8 (intptr,intptr,bool,int,int,int,int) <IL 0x0002f, 0x0005b>
09-14 16:37:47.773 I/MonoDroid( 2549): UNHANDLED EXCEPTION:
09-14 16:37:47.773 I/MonoDroid( 2549): System.NullReferenceException: Object reference not set to an instance of an object
09-14 16:37:47.773 I/MonoDroid( 2549): at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <IL 0x00011, 0x0004b>
09-14 16:37:47.773 I/MonoDroid( 2549): at Android.Runtime.JNIEnv.CallNonvirtualVoidMethod (intptr,intptr,intptr,Android.Runtime.JValue*) [0x00084] in /Users/builder/data/lanes/2058/58099c53/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:1029
09-14 16:37:47.773 I/MonoDroid( 2549): at Android.Runtime.JNIEnv.CallNonvirtualVoidMethod (intptr,intptr,intptr,Android.Runtime.JValue[]) [0x0001d] in /Users/builder/data/lanes/2058/58099c53/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:1036
09-14 16:37:47.773 I/MonoDroid( 2549): at Xamarin.Forms.Platform.Android.FormsViewGroup.MeasureAndLayout (int,int,int,int,int,int) <IL 0x00160, 0x007f7>
09-14 16:37:47.773 I/MonoDroid( 2549): at Xamarin.Forms.Platform.Android.VisualElementTracker.UpdateLayout () <IL 0x000c6, 0x0034d>
09-14 16:37:47.773 I/MonoDroid( 2549): at Xamarin.Forms.Platform.Android.VisualElementRenderer`1<Xamarin.Forms.Page>.UpdateLayout () <0x0003b>
09-14 16:37:47.773 I/MonoDroid( 2549): at Xamarin.Forms.Platform.Android.VisualElementRenderer`1<Xamarin.Forms.TabbedPage>.OnLayout (bool,int,int,int,int) <0x000f7>
09-14 16:37:47.773 I/MonoDroid( 2549): at Xamarin.Forms.Platform.Android.FormsViewGroup.n_OnLayout_ZIIII (intptr,intptr,bool,int,int,int,int) <IL 0x00012, 0x00092>
09-14 16:37:47.773 I/MonoDroid( 2549): at (wrapper dynamic-method) object.95c4f9f6-6d4a-4aaa-857e-cdadfbdcb7f8 (intptr,intptr,bool,int,int,int,int) <IL 0x0002f, 0x0005b>
09-14 16:37:47.773 I/MonoDroid( 2549): UNHANDLED EXCEPTION:
09-14 16:37:47.773 I/MonoDroid( 2549): System.NullReferenceException: Object reference not set to an instance of an object
09-14 16:37:47.773 I/MonoDroid( 2549): at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <IL 0x00011, 0x0004b>
09-14 16:37:47.773 I/MonoDroid( 2549): at Android.Runtime.JNIEnv.CallNonvirtualVoidMethod (intptr,intptr,intptr,Android.Runtime.JValue*) [0x00084] in /Users/builder/data/lanes/2058/58099c53/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:1029
09-14 16:37:47.773 I/MonoDroid( 2549): at Android.Runtime.JNIEnv.CallNonvirtualVoidMethod (intptr,intptr,intptr,Android.Runtime.JValue[]) [0x0001d] in /Users/builder/data/lanes/2058/58099c53/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:1036
09-14 16:37:47.773 I/MonoDroid( 2549): at Xamarin.Forms.Platform.Android.FormsViewGroup.MeasureAndLayout (int,int,int,int,int,int) <IL 0x00160, 0x007f7>
09-14 16:37:47.777 I/MonoDroid( 2549): at Xamarin.Forms.Platform.Android.VisualElementTracker.UpdateLayout () <IL 0x000c6, 0x0034d>
09-14 16:37:47.777 I/MonoDroid( 2549): at Xamarin.Forms.Platform.Android.VisualElementRenderer`1<Xamarin.Forms.TabbedPage>.UpdateLayout () <0x0003b>
09-14 16:37:47.777 I/MonoDroid( 2549): at Xamarin.Forms.Platform.Android.VisualElementRenderer`1<Xamarin.Forms.NavigationPage>.OnLayout (bool,int,int,int,int) <0x000f7>
09-14 16:37:47.777 I/MonoDroid( 2549): at Xamarin.Forms.Platform.Android.NavigationRenderer.OnLayout (bool,int,int,int,int) <IL 0x00008, 0x00063>
09-14 16:37:47.777 I/MonoDroid( 2549): at Xamarin.Forms.Platform.Android.FormsViewGroup.n_OnLayout_ZIIII (intptr,intptr,bool,int,int,int,int) <IL 0x00012, 0x00092>
09-14 16:37:47.777 I/MonoDroid( 2549): at (wrapper dynamic-method) object.95c4f9f6-6d4a-4aaa-857e-cdadfbdcb7f8 (intptr,intptr,bool,int,int,int,int) <IL 0x0002f, 0x0005b>
09-14 16:37:47.777 I/MonoDroid( 2549): UNHANDLED EXCEPTION:
09-14 16:37:47.777 I/MonoDroid( 2549): System.NullReferenceException: Object reference not set to an instance of an object
09-14 16:37:47.777 I/MonoDroid( 2549): at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <IL 0x00011, 0x0004b>
09-14 16:37:47.777 I/MonoDroid( 2549): at Android.Runtime.JNIEnv.CallNonvirtualVoidMethod (intptr,intptr,intptr,Android.Runtime.JValue*) [0x00084] in /Users/builder/data/lanes/2058/58099c53/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:1029
09-14 16:37:47.777 I/MonoDroid( 2549): at Android.Runtime.JNIEnv.CallNonvirtualVoidMethod (intptr,intptr,intptr,Android.Runtime.JValue[]) [0x0001d] in /Users/builder/data/lanes/2058/58099c53/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:1036
09-14 16:37:47.777 I/MonoDroid( 2549): at Xamarin.Forms.Platform.Android.FormsViewGroup.MeasureAndLayout (int,int,int,int,int,int) <IL 0x00160, 0x007f7>
09-14 16:37:47.777 I/MonoDroid( 2549): at Xamarin.Forms.Platform.Android.VisualElementTracker.UpdateLayout () <IL 0x000c6, 0x0034d>
09-14 16:37:47.777 I/MonoDroid( 2549): at Xamarin.Forms.Platform.Android.VisualElementRenderer`1<Xamarin.Forms.NavigationPage>.UpdateLayout () <0x0003b>
09-14 16:37:47.777 I/MonoDroid( 2549): at Xamarin.Forms.Platform.Android.MasterDetailContainer.OnLayout (bool,int,int,int,int) <IL 0x0004b, 0x002a6>
09-14 16:37:47.777 I/MonoDroid( 2549): at Android.Views.ViewGroup.n_OnLayout_ZIIII (intptr,intptr,bool,int,int,int,int) [0x00009] in /Users/builder/data/lanes/2058/58099c53/source/monodroid/src/Mono.Android/platforms/android-21/src/generated/Android.Views.ViewGroup.cs:4041
09-14 16:37:47.777 I/MonoDroid( 2549): at (wrapper dynamic-method) object.d39a5bfa-1aca-4c4d-8145-86673a792c63 (intptr,intptr,bool,int,int,int,int) <IL 0x0002f, 0x0005b>
09-14 16:37:47.777 I/MonoDroid( 2549): UNHANDLED EXCEPTION:
09-14 16:37:47.777 I/MonoDroid( 2549): System.NullReferenceException: Object reference not set to an instance of an object
09-14 16:37:47.777 I/MonoDroid( 2549): at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <IL 0x00011, 0x0004b>
09-14 16:37:47.777 I/MonoDroid( 2549): at Android.Runtime.JNIEnv.CallNonvirtualVoidMethod (intptr,intptr,intptr,Android.Runtime.JValue*) [0x00084] in /Users/builder/data/lanes/2058/58099c53/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:1029
09-14 16:37:47.777 I/MonoDroid( 2549): at Android.Support.V4.Widget.DrawerLayout.OnLayout (bool,int,int,int,int) <IL 0x000e6, 0x003f7>
09-14 16:37:47.777 I/MonoDroid( 2549): at Xamarin.Forms.Platform.Android.MasterDetailRenderer.OnLayout (bool,int,int,int,int) <IL 0x00008, 0x0005f>
09-14 16:37:47.777 I/MonoDroid( 2549): at Android.Support.V4.Widget.DrawerLayout.n_OnLayout_ZIIII (intptr,intptr,bool,int,int,int,int) <IL 0x00012, 0x00092>
09-14 16:37:47.777 I/MonoDroid( 2549): at (wrapper dynamic-method) object.5ebb837f-0981-4a79-9bb5-e3fbe15be114 (intptr,intptr,bool,int,int,int,int) <IL 0x0002f, 0x0005b>
09-14 16:37:47.777 I/MonoDroid( 2549): UNHANDLED EXCEPTION:
09-14 16:37:47.777 I/MonoDroid( 2549): System.NullReferenceException: Object reference not set to an instance of an object
09-14 16:37:47.777 I/MonoDroid( 2549): at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <IL 0x00011, 0x0004b>
09-14 16:37:47.777 I/MonoDroid( 2549): at Android.Runtime.JNIEnv.CallVoidMethod (intptr,intptr,Android.Runtime.JValue*) [0x00063] in /Users/builder/data/lanes/2058/58099c53/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:571
09-14 16:37:47.777 I/MonoDroid( 2549): at Android.Views.ViewGroup.Layout (int,int,int,int) [0x00082] in /Users/builder/data/lanes/2058/58099c53/source/monodroid/src/Mono.Android/platforms/android-21/src/generated/Android.Views.ViewGroup.cs:3760
09-14 16:37:47.777 I/MonoDroid( 2549): at Xamarin.Forms.Platform.Android.VisualElementTracker.UpdateLayout () <IL 0x0009b, 0x0029e>
09-14 16:37:47.777 I/MonoDroid( 2549): at Xamarin.Forms.Platform.Android.MasterDetailRenderer.UpdateLayout () <IL 0x0000e, 0x0003b>
09-14 16:37:47.777 I/MonoDroid( 2549): at Xamarin.Forms.Platform.Android.Platform.OnLayout (bool,int,int,int,int) <IL 0x000a0, 0x0039b>
09-14 16:37:47.781 I/MonoDroid( 2549): at Xamarin.Forms.Platform.Android.PlatformRenderer.OnLayout (bool,int,int,int,int) <IL 0x0001b, 0x00097>
09-14 16:37:47.781 I/MonoDroid( 2549): at Android.Views.ViewGroup.n_OnLayout_ZIIII (intptr,intptr,bool,int,int,int,int) [0x00009] in /Users/builder/data/lanes/2058/58099c53/source/monodroid/src/Mono.Android/platforms/android-21/src/generated/Android.Views.ViewGroup.cs:4041
09-14 16:37:47.781 I/MonoDroid( 2549): at (wrapper dynamic-method) object.d39a5bfa-1aca-4c4d-8145-86673a792c63 (intptr,intptr,bool,int,int,int,int) <IL 0x0002f, 0x0005b>