I have a Live Android application, and from market i have received following stack trace and i have no idea why its happening as its not happening in application code but it
you can use FragmentActivity.onStart before popBackStackImmediate
like this:
public void backStackFragment() {
this.start();
getFragmentManager().popBackStackImmediate();
}
public void start(){
FragmentActivity a = getActivity();
if(a instanceof DepositPlanPadActivity){
((DepositPlanPadActivity)a).onStart();
}
if(a instanceof SmallChangePlanPad){
((SmallChangePlanPad)a).onStart();
}
if(a instanceof UserCenterActivity){
((UserCenterActivity)a).onStart();
}
}
http://jorryliu.blogspot.com/2014/09/illegalstateexception-can-not-perform.html