unoplatform / Uno.Xaml-Controls-Gallery

This app demonstrates the controls available in the Fluent Design System and Xaml.
MIT License
48 stars 12 forks source link

Unable to run Android #56

Closed weitzhandler closed 4 years ago

weitzhandler commented 4 years ago

Describe the bug When trying to run the Android head, I get an exception saying "Root frame not found".

Steps to reproduce the bug Just trying to debug the app on Android Emulator. An exception is thrown saying "Root frame not found":

Expected behavior App should be able to launch on Android.

Actual behavior App crashes during launch.

Screenshots image

Version Info Gallery version (found on Settings page): 1.1.1.0

Device form factor:

navio-n commented 4 years ago

I had the same error on my device. App.xaml.cs in Shared project:

//rootFrame = (Frame)rootPage.FindName("rootFrame"); //Android 10.0 returns null rootFrame = NavigationRootPage.RootFrame; //Android 10.0 workaround