What to do on TransactionTooLargeException

前端 未结 30 3388
盖世英雄少女心
盖世英雄少女心 2020-11-22 03:08

I got a TransactionTooLargeException. Not reproducible. In the docs it says

The Binder transaction failed because it was too large.

D

30条回答
  •  鱼传尺愫
    2020-11-22 03:24

    Add this to your Activity

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

    It works for me hope also it will help you

提交回复
热议问题