Search code examples
xamarinmvvmcrossxamarin-studio

MainLauncher=true necessary and overrides RegisterAppStart<T>


Using MVVMCross, I want to start the app with the same view on all platforms. Using RegisterAppStart<FirstViewModel> in App.cs seems to be the correct way. But in Android it's necessary to define a View with [Activity(Label = "First Screen", MainLauncher = true)]. Otherwise Xamarin Studio show me following error: No Launchable Activity Found

What am I doing wrong here?


Solution

  • Found the answer myself: We need to add a simple SplashScreen in Android. See MVVMCross Docs for more information