joshspicer / pihole-mobile-app

iOS and Android (Xamarin Forms) app to manage your local Pi-hole
https://apps.apple.com/us/app/pi-contrhole/id1507963158
Other
27 stars 3 forks source link

Unable to run App on Android #33

Closed mohan7690 closed 4 years ago

mohan7690 commented 4 years ago

Unable to run the application on Android, tried to run without any changes to the code and it is failing at the runtime, build is success without any errors but not running looks like runtime error preventing the app to run.

Platform Details: Client : Windows 10 Android Emulator : Pixel 2 API 29

Error Text.txt

Error

joshspicer commented 4 years ago

you'll need to follow the instruction in that exception and "opt-in" to AppTheme-experimental

https://docs.microsoft.com/en-us/xamarin/xamarin-forms/internals/experimental-flags#enable-flags-in-platform-projects

If you do get around to please submit a PR! Eventually i'll get around to giving the Android version some attention :)

joshspicer commented 4 years ago

You can see in the iOS/AppDelegate file which experimental flags I am setting on that side. Android should mirror

mohan7690 commented 4 years ago

Have reflected required flags and its working now and created PR

joshspicer commented 4 years ago

34