I create an app using xamarin.forms but its not launching the app for Android. it crashing after deploying the app on emulator.
Its giving following error :
In mgmain JNI_OnLoad
11-27 06:54:31.129 E/mono ( 1249): Unhandled Exception:
11-27 06:54:31.129 E/mono ( 1249): Java.Lang.RuntimeException: Exception of type 'Java.Lang.RuntimeException' was thrown.
11-27 06:54:31.129 E/mono ( 1249): at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000b] in /Users/builder/data/lanes/1978/f98871a9/source/mono/mcs/class/corlib/System.Runtime.ExceptionServices/ExceptionDispatchInfo.cs:61
11-27 06:54:31.129 E/mono ( 1249): at Android.Runtime.JNIEnv.CallVoidMethod (IntPtr jobject, IntPtr jmethod, Android.Runtime.JValue* parms) [0x00063] in /Users/builder/data/lanes/1978/f98871a9/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:571
11-27 06:54:31.129 E/mono ( 1249): at Android.Widget.TextView.set_TextFormatted (ICharSequence value) [0x0004b] in /Users/builder/data/lanes/1978/f98871a9/source/monodroid/src/Mono.Android/platforms/android-21/src/generated/Android.Widget.TextView.cs:2897
11-27 06:54:31.129 E/mono ( 1249): at Android.Widget.TextView.set_Text (System.String value) [0x00013] in /Users/builder/data/lanes/1978/f98871a9/source/monodroid/src/Mono.Android/platforms/android-21/src/generated/Android.Widget.TextView.cs:2908
11-27 06:54:31.129 E/mono ( 1249): at Xamarin.Forms.Platform.Android.PickerRenderer.UpdatePicker () [0x00052] in :0
11-27 06:54:31.129 E/mono ( 1249): at Xamarin.Forms.Platform.Android.PickerRenderer.RowsCollectionChanged (System.Object sender, System.EventArgs e) [0x00000] in :0
11-27 06:54:31.129 E/mono ( 1249): at (wrapper delegate-invoke) :invoke_void_object_NotifyCollectionChangedEventArgs (object,System.Collections.Specialized.NotifyCollectionChangedEventArgs)
11-27 06:54:31.129 E/mono ( 1249): at System.Collections.ObjectModel.ObservableCollection
1[System.String].OnCollectionChanged (System.Collections.Specialized.NotifyCollectionChangedEventArgs e) [0x00012] in /Users/builder/data/lanes/1978/f98871a9/source/mono/external/referencesource/System/compmod/system/collections/objectmodel/observablecollection.cs:286
11-27 06:54:31.129 E/mono ( 1249): at System.Collections.ObjectModel.ObservableCollection
1[System.String].OnCollectionChanged (NotifyCollectionChangedAction action, System.Object item, Int32 index) [0x00000] in /Users/builder/data/lanes/1978/f98871a9/source/mono/external/referencesource/System/compmod/system/collections/objectmodel/observablecollection.cs:349 11-27 06:54:31.129 E/mono ( 1249): at System.Collections.ObjectModel.ObservableCollection
1[System.String].InsertItem (Int32 index, System.String item) [0x00024] in /Users/builder/data/lanes/1978/f98871a9/source/mono/external/referencesource/System/compmod/system/collections/objectmodel/observablecollection.cs:217
11-27 06:54:31.129 E/mono ( 1249): at System.Collections.ObjectModel.Collection
1[System.String].Add (System.String item) [0x00023] in /Users/builder/data/lanes/1978/f98871a9/source/mono/external/referencesource/mscorlib/system/collections/objectmodel/collection.cs:76 11-27 06:54:31.129 E/mono ( 1249): at PCL.SearchDevice.OnCompleteGetDeviceType (System.Collections.Generic.List
1 listDeviceTypes) [0x00014] in
11-27 06:54:31.129 E/mono ( 1249): at DataAccessLayer.DAL._clientGetDeviceTypesCompleted (System.Object sender, in
11-27 06:54:31.129 E/mono ( 1249): at DataAccessLayer.ServiceReference1.DataServiceClient.OnGetDeviceTypesCompleted (System.Object state) [0x00016] in
11-27 06:54:31.129 E/mono ( 1249): at System.ServiceModel.ClientBase
1[DataAccessLayer.ServiceReference1.IDataService].RunCompletedCallback (System.Threading.SendOrPostCallback callback, System.ServiceModel.InvokeAsyncCompletedEventArgs args) [0x00000] in /Users/builder/data/lanes/1978/f98871a9/source/mono/mcs/class/System.ServiceModel/System.ServiceModel/ClientBase.cs:223 11-27 06:54:31.129 E/mono ( 1249): at System.ServiceModel.ClientBase`1+c__AnonStorey0[DataAccessLayer.ServiceReference1.IDataService].<>m__0 (IAsyncResult ar) [0x0002b] in /Users/builder/data/lanes/1978/f98871a9/source/mono/mcs/class/System.ServiceModel/System.ServiceModel/ClientBase.cs:248
11-27 06:54:31.129 E/mono ( 1249): --- End of managed exception stack trace ---
11-27 06:54:31.129 E/mono ( 1249): java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
11-27 06:54:31.129 E/mono ( 1249): at