Skip to content Skip to sidebar Skip to footer

Android.os.transactiontoolargeexception: Data Parcel Size 565156 Bytes

I have viewpager with fragmens, after so many scrolls app getting crashed by saying follwing , even their is no bundle exchange while monitoring i found this following keys making

Solution 1:

This issue can be fixed by clearing saved Bundle data like below

@Override
protected void onSaveInstanceState(Bundle InstanceState) {
             super.onSaveInstanceState(InstanceState);
             InstanceState.clear();
}

Post a Comment for "Android.os.transactiontoolargeexception: Data Parcel Size 565156 Bytes"