Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Is Xamarin.Forms.Maps broken?

$
0
0

As soon as I do "stackLayout.Children.Add <| new Xamarin.Forms.Maps.Map()" I get the following exception. Looks pretty serious.

I followed the setup instructions completely and thoroughly.

I/MonoDroid(24740): UNHANDLED EXCEPTION: Java.Lang.RuntimeException: Exception of type 'Java.Lang.RuntimeException' was thrown.
I/MonoDroid(24740): at Android.Runtime.JNIEnv.CallVoidMethod (intptr,intptr,Android.Runtime.JValue[]) <0x00140>
I/MonoDroid(24740): at Android.Gms.Maps.MapView.OnCreate (Android.OS.Bundle) <0x000ef>
I/MonoDroid(24740): at Xamarin.Forms.Maps.Android.MapRenderer.OnElementChanged (Xamarin.Forms.Platform.Android.ElementChangedEventArgs

1<Xamarin.Forms.View>) <0x0009b>
I/MonoDroid(24740): at Xamarin.Forms.Platform.Android.VisualElementRenderer
1<Xamarin.Forms.View>.SetElement (Xamarin.Forms.View) <0x002a3>
I/MonoDroid(24740): at Xamarin.Forms.Platform.Android.VisualElementRenderer
1<Xamarin.Forms.View>.Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement) <0x00063>
I/MonoDroid(24740): at Xamarin.Forms.Platform.Android.RendererFactory.GetRenderer (Xamarin.Forms.VisualElement) <0x0007f>
I/MonoDroid(24740): at Xamarin.Forms.Platform.Android.VisualElementPackager.AddChild (Xamarin.Forms.VisualElement,Xamarin.Forms.Platform.Android.IVisualElementRenderer,Xamarin.Forms.Platform.Android.RendererPool,bool) <0x00053>
I/MonoDroid(24740): at Xamarin.Forms.Platform.Android.VisualElementPackager.SetElement (Xamarin.Forms.VisualElement,Xamarin.Forms.VisualElement) <0x006b7>
I/MonoDroid(24740): at Xamarin.Forms.Platform.Android.VisualElementPackager.Load () <0x00037>
I/MonoDroid(24740): at Xamarin.Forms.Platform.Android.VisualElementRenderer
1<Xamarin.Forms.View>.SetPackager (Xamarin.Forms.Platform.Android.VisualElementPackager) <0x0003f>
I/MonoDroid(24740): at Xamarin.Forms.Platform.Android.VisualElementRenderer
1<Xamarin.Forms.View>.SetElement (Xamarin.Forms.View) <0x002f7>
I/MonoDroid(24740): at Xamarin.Forms.Platform.Android.VisualElementRenderer
1<Xamarin.Forms.View>.Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement) <0x00063>
I/MonoDroid(24740): at Xamarin.Forms.Platform.Android.RendererFactory.GetRenderer (Xamarin.Forms.VisualElement) <0x0007f>
I/MonoDroid(24740): at Xamarin.Forms.Platform.Android.VisualElementPackager.AddChild (Xamarin.Forms.VisualElement,Xamarin.Forms.Platform.Android.IVisualElementRenderer,Xamarin.Forms.Platform.Android.RendererPool,bool) <0x00053>
I/MonoDroid(24740): at Xamarin.Forms.Platform.Android.VisualElementPackager.SetElement (Xamarin.Forms.VisualElement,Xamarin.Forms.VisualElement) <0x006b7>
I/MonoDroid(24740): at Xamarin.Forms.Platform.Android.VisualElementPackager.Load () <0x00037>
I/MonoDroid(24740): at Xamarin.Forms.Platform.Android.VisualElementRenderer
1<Xamarin.Forms.Page>.SetPackager (Xamarin.Forms.Platform.Android.VisualElementPackager) <0x0003f>
I/MonoDroid(24740): at Xamarin.Forms.Platform.Android.VisualElementRenderer
1<Xamarin.Forms.Page>.SetElement (Xamarin.Forms.Page) <0x002f7>
I/MonoDroid(24740): at Xamarin.Forms.Platform.Android.VisualElementRenderer
1<Xamarin.Forms.Page>.Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement) <0x00063>
I/MonoDroid(24740): at Xamarin.Forms.Platform.Android.RendererFactory.GetRenderer (Xamarin.Forms.VisualElement) <0x0007f>
I/MonoDroid(24740): at Xamarin.Forms.Platform.Android.MasterDetailContainer.set_ChildView (Xamarin.Forms.VisualElement) <0x0007b>
I/MonoDroid(24740): at Xamarin.Forms.Platform.Android.MasterDetailRenderer.UpdateDetail () <0x0002f>
I/MonoDroid(24740): at Xamarin.Forms.Platform.Android.MasterDetailRenderer.HandlePropertyChanged (object,System.ComponentModel.PropertyChangedEventArgs) <0x0005f>
I/MonoDroid(24740): at (wrapper delegate-invoke) <Module>.invoke_void__this___object_PropertyChangedEventArgs (object,System.ComponentModel.PropertyChangedEventArgs) <0x00067>
I/MonoDroid(24740): at (wrapper delegate-invoke) <Module>.invoke_void__this___object_PropertyChangedEventArgs (object,System.ComponentModel.PropertyChangedEventArgs) <0x0009b>
I/MonoDroid(24740): at Xamarin.Forms.BindableObject.OnPropertyChanged (string) <0x0004f>
I/MonoDroid(24740): at Xamarin.Forms.MasterDetailPage.set_Detail (Xamarin.Forms.Page) <0x000b3>
I/MonoDroid(24740): at Singapore.Mobile.Locations.Portal/setDetail@127.Invoke (Xamarin.Forms.Page) <0x0003b>
I/MonoDroid(24740): at Singapore.Mobile.Locations.Portal/Page.openPage (Singapore.Mobile.Locations.PortalPages/PageSpecification) <0x00137>
I/MonoDroid(24740): at Singapore.Mobile.Locations.Portal/masterPage@135.Invoke (Singapore.Mobile.Locations.PortalPages/PageSpecification) <0x00027>
I/MonoDroid(24740): at Singapore.Mobile.Locations.Portal/-ctor@102-25.Invoke (Xamarin.Forms.SelectedItemChangedEventArgs) <0x00047>
I/MonoDroid(24740): at Microsoft.FSharp.Control.CommonExtensions/Subsc
E/mono    (24740):
E/mono    (24740): Unhandled Exception:
E/mono    (24740): Java.Lang.RuntimeException: Exception of type 'Java.Lang.RuntimeException' was thrown.
E/mono    (24740): at Android.Runtime.JNIEnv.CallVoidMethod (intptr,intptr,Android.Runtime.JValue[]) <0x00140>
E/mono    (24740): at Android.Gms.Maps.MapView.OnCreate (Android.OS.Bundle) <0x000ef>
E/mono    (24740): at Xamarin.Forms.Maps.Android.MapRenderer.OnElementChanged (Xamarin.Forms.Platform.Android.ElementChangedEventArgs
1<Xamarin.Forms.View>) <0x0009b>
E/mono (24740): at Xamarin.Forms.Platform.Android.VisualElementRenderer
1<Xamarin.Forms.View>.SetElement (Xamarin.Forms.View) <0x002a3>
E/mono    (24740): at Xamarin.Forms.Platform.Android.VisualElementRenderer
1<Xamarin.Forms.View>.Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement) <0x00063>
E/mono (24740): at Xamarin.Forms.Platform.Android.RendererFactory.GetRenderer (Xamarin.Forms.VisualElement) <0x0007f>
E/mono (24740): at Xamarin.Forms.Platform.Android.VisualElementPackager.AddChild (Xamarin.Forms.VisualElement,Xamarin.Forms.Platform.Android.IVisualElementRenderer,Xamarin.Forms.Platform.Android.RendererPool,bool) <0x0 E/mono-rt (24740): [ERROR] FATAL UNHANDLED EXCEPTION: Java.Lang.RuntimeException: Exception of type 'Java.Lang.RuntimeException' was thrown. E/mono-rt (24740): at Android.Runtime.JNIEnv.CallVoidMethod (intptr,intptr,Android.Runtime.JValue[]) <0x00140>
E/mono-rt (24740): at Android.Gms.Maps.MapView.OnCreate (Android.OS.Bundle) <0x000ef>
E/mono-rt (24740): at Xamarin.Forms.Maps.Android.MapRenderer.OnElementChanged (Xamarin.Forms.Platform.Android.ElementChangedEventArgs
1<Xamarin.Forms.View>) <0x0009b>
E/mono-rt (24740): at Xamarin.Forms.Platform.Android.VisualElementRenderer
1<Xamarin.Forms.View>.SetElement (Xamarin.Forms.View) <0x002a3>
E/mono-rt (24740): at Xamarin.Forms.Platform.Android.VisualElementRenderer`1<Xamarin.Forms.View>.Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement) <0x00063>
E/mono-rt (24740): at Xamarin.Forms.Platform.Android.RendererFactory.GetRenderer (Xamarin.Forms.VisualElement) <0x0007f>
E/mono-rt (24740): at Xamarin.Forms.Platform.Android.VisualElementPackager.AddChild (Xamarin.Forms.VisualElement,Xamarin.Forms.Platform.Android.IVisualElementRenderer,Xamarin.Forms.Platform.Android.RendererPo

Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>