Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

appCompatVersion = "1.6.1" popTo 闪退 #49

Open
e9ab98e991ab opened this issue Jul 17, 2024 · 0 comments
Open

appCompatVersion = "1.6.1" popTo 闪退 #49

e9ab98e991ab opened this issue Jul 17, 2024 · 0 comments

Comments

@e9ab98e991ab
Copy link

appCompatVersion = "1.6.1" popTo 闪退

Process: me.xuexuan.fragmentation, PID: 4763
java.lang.IllegalStateException: Fragment LoginFragment{85d6ad} (9084c050-559f-46f8-86c7-bf46f7ff1022) has not been attached yet.
at androidx.fragment.app.Fragment.getChildFragmentManager(Fragment.java:1075)
at me.yokeyword.fragmentation.helper.internal.VisibleDelegate.dispatchChildOnFragmentShownWhenNotResumed(VisibleDelegate.java:139)
at me.yokeyword.fragmentation.helper.internal.VisibleDelegate.onFragmentShownWhenNotResumed(VisibleDelegate.java:135)
at me.yokeyword.fragmentation.helper.internal.VisibleDelegate.onHiddenChanged(VisibleDelegate.java:119)
at me.yokeyword.fragmentation.SupportFragmentDelegate.onHiddenChanged(SupportFragmentDelegate.java:236)
at me.yokeyword.sample.demo_flow.base.MySupportFragment.onHiddenChanged(MySupportFragment.java:98)
at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:374)
at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:2180)
at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:2100)
at androidx.fragment.app.FragmentManager.popBackStackImmediate(FragmentManager.java:781)
at androidx.fragment.app.FragmentManager.popBackStackImmediate(FragmentManager.java:719)
at me.yokeyword.fragmentation.TransactionDelegate.safePopTo(TransactionDelegate.java:503)
at me.yokeyword.fragmentation.TransactionDelegate.mockPopToAnim(TransactionDelegate.java:456)
at me.yokeyword.fragmentation.TransactionDelegate.doPopTo(TransactionDelegate.java:434)
at me.yokeyword.fragmentation.TransactionDelegate.access$1100(TransactionDelegate.java:34)
at me.yokeyword.fragmentation.TransactionDelegate$10.run(TransactionDelegate.java:329)
at me.yokeyword.fragmentation.queue.ActionQueue.handleAction(ActionQueue.java:58)
at me.yokeyword.fragmentation.queue.ActionQueue.enqueueAction(ActionQueue.java:46)
at me.yokeyword.fragmentation.queue.ActionQueue.access$000(ActionQueue.java:17)
at me.yokeyword.fragmentation.queue.ActionQueue$1.run(ActionQueue.java:37)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7959)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:942)

使用 appCompatVersion = "1.1.0" 正常。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant