Bug 58274 - Application dont start on Samsung Galaxy Note 4
Summary: Application dont start on Samsung Galaxy Note 4
Status: RESOLVED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: Android ()
Version: 2.3.5
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Jimmy [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2017-07-20 15:29 UTC by ace37ace
Modified: 2017-07-21 11:38 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description ace37ace 2017-07-20 15:29:56 UTC
Previous version Xamarin Form works!

>> Unhandled Exception Raiser
Exception: System.InvalidCastException: Specified cast is not valid.
  at Xamarin.Forms.Platform.Android.Platform.SetActionBarTextColor () [0x0005c] in <aeb7f34d22f84110aa2a7a9085e2822b>:0 
  at Xamarin.Forms.Platform.Android.Platform.UpdateActionBarTextColor () [0x00000] in <aeb7f34d22f84110aa2a7a9085e2822b>:0 
  at Xamarin.Forms.Platform.Android.Platform.ShowActionBar () [0x00012] in <aeb7f34d22f84110aa2a7a9085e2822b>:0 
  at Xamarin.Forms.Platform.Android.Platform.UpdateActionBar () [0x000a0] in <aeb7f34d22f84110aa2a7a9085e2822b>:0 
  at Xamarin.Forms.Platform.Android.Platform.SetPage (Xamarin.Forms.Page newRoot) [0x000a3] in <aeb7f34d22f84110aa2a7a9085e2822b>:0 
  at Xamarin.Forms.Platform.Android.FormsApplicationActivity.InternalSetPage (Xamarin.Forms.Page page) [0x00027] in <aeb7f34d22f84110aa2a7a9085e2822b>:0 
  at Xamarin.Forms.Platform.Android.FormsApplicationActivity.AppOnPropertyChanged (System.Object sender, System.ComponentModel.PropertyChangedEventArgs args) [0x0001e] in <aeb7f34d22f84110aa2a7a9085e2822b>:0 
  at Xamarin.Forms.BindableObject.OnPropertyChanged (System.String propertyName) [0x00012] in <5b75a2c0acb24953a24306831025f521>:0 
  at Xamarin.Forms.Element.OnPropertyChanged (System.String propertyName) [0x00000] in <5b75a2c0acb24953a24306831025f521>:0 
  at Xamarin.Forms.Application.set_MainPage (Xamarin.Forms.Page value) [0x0008b] in <5b75a2c0acb24953a24306831025f521>:0 
  at GlobalPS.Portable.XamarinForms.Presenter.MvxFormsPagePresenter.TryShowPage (MvvmCross.Core.ViewModels.MvxViewModelRequest request) [0x001a6] in <fc662612d6784deeb900839826481a8a>:0 
  at GlobalPS.Portable.XamarinForms.Presenter.MvxFormsPagePresenter.Show (MvvmCross.Core.ViewModels.MvxViewModelRequest request) [0x00000] in <fc662612d6784deeb900839826481a8a>:0 
  at MvvmCross.Droid.Views.MvxAndroidViewDispatcher+<>c__DisplayClass2_0.<ShowViewModel>b__0 () [0x00000] in <f6aebf863dc84be7b380cfec8d459508>:0 
  at MvvmCross.Droid.Views.MvxAndroidMainThreadDispatcher.RequestMainThreadAction (System.Action action) [0x00019] in <f6aebf863dc84be7b380cfec8d459508>:0 
  at MvvmCross.Droid.Views.MvxAndroidViewDispatcher.ShowViewModel (MvvmCross.Core.ViewModels.MvxViewModelRequest request) [0x00014] in <f6aebf863dc84be7b380cfec8d459508>:0 
  at MvvmCross.Core.ViewModels.MvxNavigatingObject.ShowViewModelImpl (System.Type viewModelType, MvvmCross.Core.ViewModels.IMvxBundle parameterBundle, MvvmCross.Core.ViewModels.IMvxBundle presentationBundle, MvvmCross.Core.ViewModels.MvxRequestedBy requestedBy) [0x0002e] in <69bce0378e8e413982d3b552d7e387a8>:0 
  at MvvmCross.Core.ViewModels.MvxNavigatingObject.ShowViewModel (System.Type viewModelType, MvvmCross.Core.ViewModels.IMvxBundle parameterBundle, MvvmCross.Core.ViewModels.IMvxBundle presentationBundle, MvvmCross.Core.ViewModels.MvxRequestedBy requestedBy) [0x00000] in <69bce0378e8e413982d3b552d7e387a8>:0 
  at MvvmCross.Core.ViewModels.MvxNavigatingObject.ShowViewModel[TViewModel] (MvvmCross.Core.ViewModels.IMvxBundle parameterBundle, MvvmCross.Core.ViewModels.IMvxBundle presentationBundle, MvvmCross.Core.ViewModels.MvxRequestedBy requestedBy) [0x00000] in <69bce0378e8e413982d3b552d7e387a8>:0 
  at Android.App.Activity.n_OnCreate_Landroid_os_Bundle_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_savedInstanceState) [0x0000f] in <ad1febe2c3094d16b35bd3fbe5607734>:0 
  at (wrapper dynamic-method) System.Object:a9828228-fa93-4c5e-8a1f-79a393911583 (intptr,intptr,intptr)
Comment 1 ace37ace 2017-07-20 15:32:36 UTC
Xamarin Forms 2.3.5.239-pre3

On other Androids works good.
Comment 2 Jimmy [MSFT] 2017-07-20 17:54:53 UTC
I believe this is fixed in 2.3.5-pre6. Please update to the latest Forms pre-release in all your projects and do a clean and rebuild to verify. If you continue experiencing this, please re-open this report and attach a repro project so we can investigate further. Thanks!
Comment 3 ace37ace 2017-07-21 08:01:17 UTC
i install 2.3.5-pre6 and now it start crash on all devices with out any crash logs.
Comment 4 ace37ace 2017-07-21 11:38:22 UTC
i add armv7 build and now it works