question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] [Android] [MAUI Blazor] Crash on Android 5 device/emulator

See original GitHub issue

Description

Default MAUI Blazor app crashes on Android with following exception. image

Steps to Reproduce

  1. Run dotnet new maui-blazor
  2. Create emulator with API 21 image
  3. 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:closed
  • Created 2 years ago
  • Comments:15 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
AmrAlSayed0commented, Oct 19, 2021

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.

0reactions
MackinnonBuckcommented, Apr 14, 2022

Closing since the docs have now been updated with the correct Android API requirements.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found