Forum Visual Studio

Unable to use map from Xamarin.Forms.Maps on Android 7.0 Samsung Galaxy S2.

davefxydavefxy Member ✭✭

When I attempt to use the map control on my Android 7 Galaxy S2, I get "Xamarin Live Player has stopped." I am using Xamarin.Forms and NetStandard 2. I am using Visual Studio 2017, Live Player Ver 1.5.176 on the tablet. The app works as long as I don't attempt to use the map control. I initialize Xamarin.Forms.Maps with global::Xamarin.FormsMaps.Init(this, bundle);. I can create the control in code : Map map = new Map();. I can define the position : map.MoveToRegion(). However when I add the map control to the page content and exit the page constructor the Live Player stops and needs to be restarted.

Best Answer


Sign In or Register to comment.