I got a TransactionTooLargeException
. Not reproducible. In the docs it says
The Binder transaction failed because it was too large.
D
When I am dealing with the WebView
in my app it happens. I think it's related to addView
and UI resources.
In my app I add some code in WebViewActivity
like this below then it runs ok:
@Override
protected void onDestroy() {
if (mWebView != null) {
((ViewGroup) mWebView.getParent()).removeView(mWebView);
mWebView.removeAllViews();
mWebView.destroy();
}
super.onDestroy();
}