You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
0xFFFFFFFFFFFFFFFF in Android.Runtime.RuntimeNativeMethods.monodroid_debugger_unhandled_exception C#
0x1A in Android.Runtime.JNINativeWrapper._unhandled_exception at /Users/runner/work/1/s/xamarin-android/src/Mono.Android/Android.Runtime/JNINativeWrapper.g.cs:12,5 C#
0x1D in Android.Runtime.JNINativeWrapper.Wrap_JniMarshal_PP_V at /Users/runner/work/1/s/xamarin-android/src/Mono.Android/Android.Runtime/JNINativeWrapper.g.cs:23,26 C#
0x63 in Microsoft.Maui.Controls.Platform.Compatibility.ShellToolbarTracker.Dispose at D:\a\_work\1\s\src\Controls\src\Core\Compatibility\Handlers\Shell\Android\ShellToolbarTracker.cs:183,5 C#
0x2 in Java.Lang.Object.Java.Interop.IJavaPeerable.Disposed at /Users/runner/work/1/s/xamarin-android/src/Mono.Android/Java.Lang/Object.cs:179,4 C#
0x39 in Java.Interop.JniRuntime.JniValueManager.DisposePeer at /Users/runner/work/1/s/xamarin-android/external/Java.Interop/src/Java.Interop/Java.Interop/JniRuntime.JniValueManager.cs:151,5 C#
0xB in Java.Lang.Object.Dispose at /Users/runner/work/1/s/xamarin-android/src/Mono.Android/Java.Lang/Object.cs:211,4 C#
0x94 in Microsoft.Maui.Controls.Platform.Compatibility.ShellSectionRenderer.Destroy at D:\a\_work\1\s\src\Controls\src\Core\Compatibility\Handlers\Shell\Android\ShellSectionRenderer.cs:186,5 C#
0x1 in Microsoft.Maui.Controls.Platform.Compatibility.ShellSectionRenderer.OnDestroy at D:\a\_work\1\s\src\Controls\src\Core\Compatibility\Handlers\Shell\Android\ShellSectionRenderer.cs:207,4 C#
0x8 in AndroidX.Fragment.App.Fragment.n_OnDestroy at C:\a\_work\1\s\generated\androidx.fragment.fragment\obj\Release\net6.0-android\generated\src\AndroidX.Fragment.App.Fragment.cs:2067,4 C#
0x8 in Android.Runtime.JNINativeWrapper.Wrap_JniMarshal_PP_V at /Users/runner/work/1/s/xamarin-android/src/Mono.Android/Android.Runtime/JNINativeWrapper.g.cs:22,5 C#
The text was updated successfully, but these errors were encountered:
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!
Description
I make a NavigationPage that navigates to a Shell. When I press the back button on my Android device, it crashes the app. It works on Windows.
Steps to Reproduce
Create a new .NET Maui app
Create a ContentPage with a button to navigate to a new AppShell
Change the App.cs to this:
public App()
{
InitializeComponent();
Now, when the app starts in the ContentPage, you can navigate to the Shell. But when you press back on Android, it crashes. With Windows it works.
Link to public reproduction project repository
https://github.com/gianox/MauiShellNavCrash
Version with bug
8.0.61 SR6.1
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
The text was updated successfully, but these errors were encountered: