[Bug] [Android] [MAUI Blazor] Crash on Android 5 device/emulator
See original GitHub issueDescription
Default MAUI Blazor app crashes on Android with following exception.
Steps to Reproduce
- Run
dotnet new maui-blazor
- Create emulator with API 21
- Run in Debug
Actual Behavior
Crash.
Basic Information
- Version with issue: MAUI preview 9
- IDE: Visual Studio 2022 preview 5
- Platform Target Frameworks:
- Android: SDK 21
Workaround
Not aware of any.
Issue Analytics
- State:
- Created 2 years ago
- Comments:15 (10 by maintainers)
Top Results From Across the Web
[Bug] .NET MAUI Blazor App crashed on physical device
apk file into one of the physical Android 10 Phone and then run it, it always crash after startup. So the point is...
Read more >Blazor MAUI app crashes on start in Release config ...
I have written a .NET MAUI Blazor app and have run into an issue where it is now crashing as soon as the...
Read more >Android Emulator Troubleshooting - .NET MAUI
Some error messages may be displayed by the emulator when you deploy your app. The most common errors and solutions are explained here....
Read more >.NET MAUI android application crashes immediately after ...
NET MAUI android application crashes immediately after opening. Works fine when running with USB Debugging But when i share the APK/Signed ...
Read more >7.2 and 7.1 Maui Android crashes in Release mode, but works ...
Then run the Maui project (Not the MauiBlazor project) in Release mode. (You may need to select Deploy option for the maui project)....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Google’s requirement is API 30 for the API to build against (the target API), there are no requirements for what API level to run on and net6.0-android should support API level 21. This min number will probably be bumped up by 1 each year but for now it is 21.
Anyway, I’m not too invested into this myself. I just thought I would offer sum ideas.
Closing since the docs have now been updated with the correct Android API requirements.