-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] .NET MAUI Blazor App crashed on physical device #3060
Comments
Hello #2246 (comment) |
@aokocax you save my day!!! :-) I also added just So that case could be closed. |
I've been trying to investigate this, and I do get a crash in the Android emulator in release builds. It looks as if this may be coming from something deeper in MAUI rather than BlazorWebView, so have filed #4262. If it is a BlazorWebView issue, we'll need help understanding how to track down which .NET code might be involved, since the error trace isn't about .NET at all but rather is phrased in terms of Java code. Until there is a response to #4262 I can't take other action, so am going to reschedule this issue for the next preview. |
Same problem when I tried the .NET Podcast app. I'm updating the issues that I faced here |
@SteveSandersonMS Now that #4262 is resolved and closed, should this be closed as well? Or is there more to do here? |
Yes let's close it. |
Description
If I build empty .NET MAUI Blazor App (Preview) VS template with command dotnet build -f net6.0-android -c Release and then install .apk file into one of the physical Android 10 Phone and then run it, it always crash after startup.
So the point is that I want to create .apk for my Blazor MAUI project, which could be send to some phones to test it.
If I try same process with empty .NET MAUI App (Preview) and same command dotnet build -f net6.0-android -c Release it works well on physical Android Phone.
I think there is a problem with some Blazor component or something. Because of that I try to clear all blazor stuff (script include blazor.webview.js etc.) inside index.html file and leave only this inside it:
But this doesn't help. Screen attached below is shown just for one second and then app crashed.
Steps to Reproduce
Expected Behavior
Run without problem like .NET MAUI App template.
Actual Behavior
App is crashing all time.
Basic Information
The text was updated successfully, but these errors were encountered: