App crashes within a few seconds
See original GitHub issueDescription
If I run the app on the android emulator, the app opens up and crases within few seconds. But I was able to click on the click me button and saw the increment but. I’ve tried with vs 2019 16.11 and newly released vs 2022 preview 1. The result is the same. I’ve tried reinstalling .NET6 SDK, Android Emulator, cleaning the project, creating another project, downloading the sample weather app from GitHub but the problem remained.
If I run the installed version of the app from the emulater, it gets stucks. The Weather ’21 demo app also crashes.
Steps to Reproduce
dotnet new maui
dotnet restore
dotnet build
dotnet build -t:Run -f net6.0-android
Expected Behavior
The app should run smoothly.
Actual Behavior
Crashing without any build error.
Basic Information
- Version with issue: 6.0.1000-preview.5.794
- Last known good version: None
- IDE: Visual Studio 2019 16.11 (Preview) & Visual Studio 2022 17.0.0 (Preview 1.0)
- Platform Target Frameworks:
- Android: 9.0, 11.0
- Nuget Packages: Microsoft.Maui (6.0.1000-preview.5.794)
- Affected Devices: Android
System Information
- Windows 10 Pro
- 16 GIG
- AMD Ryzen 5 3600
- Nvidea GeForce GT220 1GB
Screenshots
maui-check
Output
Build Output
Debug output
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
most apps crash a few seconds after opening them
Method 3* Try to Reset or Repair the game in Windows Settings > Apps > Apps & Features > [Name of game] >...
Read more >Why do my apps keep crashing on Android, How to fix it
There can be multiple ways in which you can fix an app that keeps crashing on your Android smartphone. 1. Force stop the...
Read more >Why are my Android phone apps crashing or closing & how ...
Another reason for Android apps crashing can be a lack of storage space in your device. This can occur when you overload your...
Read more >Why Do My Apps Keep Crashing on Android?
Low storage space can cause Android phones to freeze, and it can also drain your battery and damage your phone in the long...
Read more >All iOS 15 apps crash when quickly restarted (iPhone)
Close the app and quickly reopen. This will cause the app to crash if you do it fast enough. It seems to work...
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
See #1361
Glad your life is better now! Let us know if we can help you in any other way.