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

Updating Xamarin.Forms Broke Android App

$
0
0

Hello everyone!

I'm building a Xamarin.Forms MVVM app with the view built with XAML and in order to use the command interface on Label objects, I recently used NuGet to update my Xamarin.Forms version from v1.0.6186 to v1.2.1.6229. After I did this, the iOS and WinPhone deployments of my app continued to work perfectly (with the Label command interface usage), but suddenly my Android deployment stopped working.

Right when the app starts, I get an unhandled exception with the following call stack:

System.Diagnostics.Debugger.Mono_UnhandledException_internal
System.Diagnostics.Debugger.Mono.UnhandledException
object.9de4466d-6b8e-4722-9ce7-d8e12483937e
Xamarin.Forms.Platform.Android.Platform.SetActionBarTextColor
Xamarin.Forms.Platform.Android.Platform.UpdateActionBarTextColor
Xamarin.Forms.Platform.Android.Platform.OnLayout
Xamarin.Forms.Platform.Android.PlatformRenderer.OnLayout
Android.Views.ViewGroup.n_OnLayout_Zllll
object.9de4466d-6b8e-4722-9ce7-d8e12483937e

I am running on a real device, a Samsung GT-P3113 running Android 4.2.2, and my Android app project has the 'Compile using Android Version', 'Minimum Android to Target' and 'Target Android Version' all set to 'API Level 17 (Xamarin.Android v4.2 Support). However, I get the exact same symptom when I run on a debugger.

I have no idea what to do from here. Any help at all would be very much appreciated. Thanks in advance!


Viewing all articles
Browse latest Browse all 58056

Trending Articles