Fragmentmanager的IllegalArgumentException

时间:2017-06-21 15:42:38

标签: android android-fragments

我从谷歌播放重复崩溃:

`java.lang.IllegalArgumentException: 
  at        android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1293)
  at     android.support.v4.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1528)
      at     android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1595)
  at android.support.v4.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:2900)
  at android.support.v4.app.Fragment.performActivityCreated(Fragment.java:2207)
  at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1326)
  at android.support.v4.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1528)
  at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1595)
  at android.support.v4.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:2900)
  at android.support.v4.app.Fragment.performActivityCreated(Fragment.java:2207)
  at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1326)
  at android.support.v4.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1528)
  at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1595)
  at android.support.v4.app.BackStackRecord.executeOps(BackStackRecord.java:758)
  at android.support.v4.app.FragmentManagerImpl.executeOps(FragmentManager.java:2363)
  at android.support.v4.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2149)
  at android.support.v4.app.FragmentManagerImpl.optimizeAndExecuteOps(FragmentManager.java:2103)
  at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2013)
  at android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:710)
  at android.os.Handler.handleCallback(Handler.java:751)
  at android.os.Handler.dispatchMessage(Handler.java:95)
  at android.os.Looper.loop(Looper.java:154)
  at android.app.ActivityThread.main(ActivityThread.java:6692)
  at java.lang.reflect.Method.invoke(Native Method:0)
  at     com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1468)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1358)

现在谷歌播放没有显示我的代码有任何问题,但我猜它仍然是我的代码......

有人遇到过这种情况吗?

如果我不知道它在哪里,我该如何解决?

修改:

我发现它只发生在Galaxy手机上有任何问题吗?

帮助者的Tnx。

0 个答案:

没有答案