Replies: 7 comments 11 replies
-
I see the the exact same error on Android 11 if I jump between shell pages via shell menu. Crashes happen randomly on a real device. |
Beta Was this translation helpful? Give feedback.
-
That's my stacktrace: java.lang.IllegalArgumentException: No view found for id 0x1 (unknown) for fragment ShellItemRenderer{46ad6a6} (bdd04ca2-ad0c-44cf-a2ef-f2aaa6973711 id=0x1) |
Beta Was this translation helpful? Give feedback.
-
I have the same problem |
Beta Was this translation helpful? Give feedback.
-
I have the same issue present in my app on .NET 7 with multiple Android versions. It crashes often, randomly on various devices. Has anyone found any solution/workaround for this issue? |
Beta Was this translation helpful? Give feedback.
-
I have the same issue with .NET 8... Microsoft Visual Studio Professional 2022 (64-bit) |
Beta Was this translation helpful? Give feedback.
-
So this is Maui's fault? When will it be fixed? Sometimes the method can
ignore the error for a while?
Best regards/Jay Ren
Sliem Beji ***@***.***>于2024年9月15日 周日下午8:33写道:
… It's a regression bug
—
Reply to this email directly, view it on GitHub
<#7878 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A7TIKBW3OIU67UJOW72HZXLZWV5CRAVCNFSM5YI45VXKU5DIOJSWCZC7NNSXTOSENFZWG5LTONUW63SDN5WW2ZLOOQ5TCMBWGUYTONZV>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I'm working on an android app using the Maui AppShell and encounter this very frustrating error. If I freshly start the app, everything works well. But if I use the hardware back button to 'quit' the app and tap the app icon to re-launch it, the app start to crash on global routes when calling Shell.Current.GoToAsync(... The error message is always something like the following.
[AndroidRuntime] java.lang.IllegalArgumentException: No view found for id 0x1 (unknown) for fragment ShellItemRenderer{99fe607} (a37d9ccb-3171-4192-aed4-178335390d1c id=0x1)
[AndroidRuntime] at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:513)
[AndroidRuntime] at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:261)
[AndroidRuntime] at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:1840)
[AndroidRuntime] at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:1758)
[AndroidRuntime] at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:1701)
[AndroidRuntime] at androidx.fragment.app.FragmentManager$4.run(FragmentManager.java:488)
[AndroidRuntime] at android.os.Handler.handleCallback(Handler.java:938)
[AndroidRuntime] at android.os.Handler.dispatchMessage(Handler.java:99)
[AndroidRuntime] at android.os.Looper.loop(Looper.java:246)
[AndroidRuntime] at android.app.ActivityThread.main(ActivityThread.java:8653)
[AndroidRuntime] at java.lang.reflect.Method.invoke(Native Method)
[AndroidRuntime] at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
[AndroidRuntime] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
Not sure if the re-launch restore the route or not. When debug, I saw OnSleep() event fired in App class when I tap the hardware back button, but re-launch the app by tap the app icon, neither OnResume() nor OnStart fired in App class.
Does anyone encounter similar issue? Any help would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions