码迷,mamicode.com
首页 > 其他好文 > 详细

Can not perform this action after onSaveInstanceState 解决办法

时间:2014-11-10 20:03:15      阅读:266      评论:0      收藏:0      [点我收藏+]

标签:onsaveinstancestate   fragmentactivity   commit   

报错

java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
	at android.support.v4.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:1360)
	at android.support.v4.app.FragmentManagerImpl.popBackStackImmediate(FragmentManager.java:496)
	at android.support.v4.app.FragmentActivity.onBackPressed(FragmentActivity.java:180)
	at android.app.Activity.onKeyUp(Activity.java:2193)
	at android.view.KeyEvent.dispatch(KeyEvent.java:2664)
	at android.app.Activity.dispatchKeyEvent(Activity.java:2423)
	at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchKeyEvent(PhoneWindow.java:1962)

bubuko.com,布布扣


解决方案 见链接

http://stackoverflow.com/questions/7575921/illegalstateexception-can-not-perform-this-action-after-onsaveinstancestate-h

Can not perform this action after onSaveInstanceState 解决办法

标签:onsaveinstancestate   fragmentactivity   commit   

原文地址:http://blog.csdn.net/u012664191/article/details/40983839

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!