Comments (4)
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Open similar issues:
- Android : Maui rc-1 crash on android (#17697), similarity score: 0.79
- Maui application does not restart properly after android activity is destroyed (#18845), similarity score: 0.79
- App crashes when navigating after the app has been in the background (#12553), similarity score: 0.76
Closed similar issues:
- MAUI clearing storage of app (#6641), similarity score: 0.77
- MAUI Android build crashes when app is reopened from background. It throws the exception: 'Window was already created.' (#18692), similarity score: 0.76
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
from maui.
Based on the bot's suggestion of this thread:
#18845 (comment)
I tried adding to MauiProgram.cs
#if ANDROID
builder.ConfigureLifecycleEvents(events => {
events.AddAndroid(android => android.OnDestroy((activity) => QuitApplication(activity)));
void QuitApplication(Android.App.Activity activity) {
App.Current.Quit(); //to attempt to solve crashing on restart
}
I suppose I will see if that will solve it as a workaround.
from maui.
Can you attach a logcat file with your crash?
https://learn.microsoft.com/en-us/xamarin/android/deploy-test/debugging/android-debug-log?tabs=windows
from maui.
Hi @jonmdev. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.
from maui.
Related Issues (20)
- [Android] Convert Modal Implementation over to using Dialog Fragment
- Buttons with corner radius still have rectangular input areas HOT 4
- (1)NU1301 Error in MAUI Project: Unable to Retrieve Repository Signature Information for NuGet Source (2)MAUI App Crashes on Windows After Visual Studio 17.10.0 Update: Error Code 0x80070005 HOT 4
- [Android] Label.CharacterWrap wraps text too soon HOT 3
- Optimize allocations via ArrayPool/MemoryPool in Crc64HashAlgorithm.cs and other places
- GtkSerializer should use transcoding stream
- GtkSerializer should use transcoding stream
- Optimize allocations via ArrayPool/MemoryPool in Crc64HashAlgorithm.cs and other places
- Use stackalloc for multiple instances of arrays of constant size
- Expose TimeZoneChangedEvent in Maui.Essentials
- Incorporate a throwhelper into Maui.Essentials
- ImageButton RippleEffect not working in some cases HOT 2
- Follow CA1825 Use Array<T>.Empty in all instances
- Employ .NET [Auto]Vectorization features HOT 1
- [Android] Border doesnt expand on Content size changed HOT 1
- ControlTemplate not propagating the BindingContext correctly if set through Binding HOT 1
- Rotate screen on ios <= 15
- How to know what version of Maui/.NET each pull request goes into HOT 1
- How are we doing in the repo? Survey inside! HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maui.