Getting 'e/javabinder: !!! Failed Binder Transaction !!! (parcel Size = 9448080)' While Trying To Build A Notification
I'm trying to build a notification and receive it after an interval of time. Here's how: futureInMillis = SystemClock.elapsedRealtime() + 176000; Intent notificationIntent = new I
Solution 1:
I figured out the problem here and it was with the small icon of notification. It was exceeding the binder limit.
The same icon was saved in my mipmap
folder too and changing the reference from R.drawable.app_icon_1
to R.mipmap.app_icon_1
did the job for me.
I changed this line:
icon = BitmapFactory.decodeResource(getBaseContext().getResources(),
R.drawable.app_icon_1);
with this:
icon = BitmapFactory.decodeResource(getBaseContext().getResources(),
R.mipmap.app_icon_1);
and now there is no more error.
Post a Comment for "Getting 'e/javabinder: !!! Failed Binder Transaction !!! (parcel Size = 9448080)' While Trying To Build A Notification"