-
Notifications
You must be signed in to change notification settings - Fork 1.9k
FormsAppCompatActivity.OnDestroy occasionally throws "No view found for id" exception for Android N devices #1490
Comments
Having this issue as well. Seems to occur consistently when certain devices manually close the app (i.e. open the running processes drawer and swipe the app away), which leads me to believe it is related to OnDestroy in this instance as well. Users have a bad habit of doing this which in turn crashes the app and stops the background work from functioning as expected, leading to a poor user experience.
|
Is anyone able to get this in 3.1.0? |
Our application is getting this Exception in 3.1.0 https://github.com/kokoro-io/kokoro-io-app |
@pgrho I'm able to run your sample but can you tell me a login/pwd I can use or steps I can take to see the exception? |
The Exception will be thrown in the 5th step, but the frequency depends on the device. FYI: This app is normally installed from appcenter.ms |
@pgrho that's not working for me |
@PureWeen Sorry, it seems to be a unknown server bug. Please retry the steps. Or use appcenter.ms with following:
|
Hmm it's still not quite working for me @pgrho If you could provide a minimal repro or mod the application in some way where login isn't needed so I can see the exception that would be helpful |
@PureWeen I got |
@pgrho you might need to delete your bin/obj folders after updating and make sure to restart VS I installed the nuget package into your project and was able to launch it without any issues |
@PureWeen 3.3.0 seems to be fine on reactivating the app. |
@pgrho awesome!!! |
this should have been closed when merging #3187 |
Bug report best practices: https://github.com/xamarin/Xamarin.Forms/wiki/Submitting-Issues
From: dotnet/android#1143
Description
FormsAppCompatActivity.OnDestroy()
occasionally throws "No view found for id" exception for Android N devicesSteps to Reproduce
I could not reproduce this from our development environment. We've received infrequent and non-critical reports from our bug reporting.
Expected Behavior
Actual Behavior
Basic Information
The text was updated successfully, but these errors were encountered: