A created a new Xamarin Forms project for Android project and changed nothing. And when i debug it in a android simulator, the app get an error before entering onCreate method. I checked the stack trace:
Original Exception: at char.ToUpperInvariant (char)
at MonoDroid.Utils.JniType.ToPascalCase (string,int)
at MonoDroid.Utils.JniType.ToCliTypePart (string)
at MonoDroid.Utils.JniType.ToCliType (string)
at Java.Interop.TypeManager.CreateInstance (intptr,Android.Runtime.JniHandleOwnership,System.Type)
at Java.Lang.Object.GetObject (intptr,Android.Runtime.JniHandleOwnership,System.Type)
and i checked the innerException, it writes: An exception was thrown by the type initializer for System.Globalization.CultureInfo
and its innerException says : An exception was thrown by the type initializer for System.Globalization.TextInfo"
and then says: "Attempted to access a missing method." it is a MissingMethodException.
I am using Xamarin for Visual Studio 3.11.450 and the version for Xamarin.Android is 5.1.0.115
Did any body get the same problem? I need you help!