Default MAUI Blazor project immediately crashing on Android Emulator
See original GitHub issueDescribe the bug
I recently setup another development environment to work with MAUI Blazor, however, when I try to run the default app in the Android Emulator, it opens but immediately crashes, and the debugger window shows the following lines:
[.MAUIBlazorDem] * Assertion at /__w/1/s/src/mono/mono/mini/debugger-agent.c:4389, condition
tls’ not met
Thread started: dotnet/aspnetcore#5
[libc] Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 13003 (ThreadPoolForeg), pid 12934 (.MAUIBlazorDemo)`
To Reproduce
- Setup MAUI Environment
- Create a new MAUI Blazor projet using the default template
- Create an Android Device for API 30.
- Run the project using the created device.
Exceptions (if any)
No visible exceptions in the emulator, app just closes.
Further technical details
- ASP.NET Core version: 6
- Include the output of
dotnet --info
- The IDE (VS / VS Code/ VS4Mac) you’re running on, and its version: Version 16.11.0 Preview 2.0
- Host OS: Windows 11
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Crash on startup for default MAUI Blazor app on Android ...
A default MAUI Blazor application built in Release mode crashes immediately on startup in Android. I've checked this in the Android emulator ......
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
Launch the emulator from the Android Device Manager (select your virtual device and select Start). Open a command prompt and go to the...
Read more >.NET MAUI android application crashes immediately after ...
This definitely sounds like a linker issue. Disable the linker in Release mode and try again. If it doesn't crash, you've found the...
Read more >How To Fix Android Emulator For Visual Studio ( .NET MAUI)
00:00 intro 00:44 Update Your Android SDK and Emulators 02:20 Start An Android Emulator ... Blazor WebAssembly and MAUI App Builder.
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
The good news is that it no longer appears to be happening with Preview 6.
Get Outlook for Androidhttps://aka.ms/AAb9ysg
From: Eilon Lipton @.> Sent: Saturday, July 17, 2021 2:24:32 AM To: dotnet/maui @.> Cc: Paul Sorauer @.>; Mention @.> Subject: Re: [dotnet/maui] Default MAUI Blazor project immediately crashing on Android Emulator (#1616)
Thank you @PaulSorauer-IPGhttps://github.com/PaulSorauer-IPG this does look the same. I’ll let the Android experts have a look and they can close if they confirm it’s a dup.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/dotnet/maui/issues/1616#issuecomment-881568680, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOVEAIJM3IMN6KA53RLLHJDTYBMMBANCNFSM5ADCYNVQ.
Yes… There’s already an issue for this: #1361