Invalid notification sent from package [Failed to expand RemoteViews]

My application uses custom contentView and contentBigView. In fact, it supports the extension of notifications. I have an error that causes the application to crash, and this only happens on a few devices. I cannot reproduce this problem myself, but this problem persists on the devices listed below.

I see that this only happens on Android 4.2.x. Anyone have any idea of ​​a potential bug on Android?

Devices

  • THL T100S [Android 4.2.2]
  • Lenovo P780 (P780_ROW) [Android 4.2.1]
  • Lenovo S820 (S820_ROW) [Android 4.2]
  • Lenovo A766 [Android 4.2]

Logcat

02-24 09:45:39.752 E/AndroidRuntime( 4281): FATAL EXCEPTION: main 02-24 09:45:39.752 E/AndroidRuntime( 4281): android.app.RemoteServiceException: Bad notification posted from package com.android.DroidLiveLite: Couldn't expand RemoteViews for: StatusBarNotification(pkg=com.android.DroidLiveLite id=2131165283 tag=null score=0 notn=Notification(pri=0 contentView=com.android.DroidLiveLite/0x7f03004d vibrate=null sound=null defaults=0x0 flags=0x62 kind=[null]) user=UserHandle{0}) 02-24 09:45:39.752 E/AndroidRuntime( 4281): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1545) 02-24 09:45:39.752 E/AndroidRuntime( 4281): at android.os.Handler.dispatchMessage(Handler.java:107) 02-24 09:45:39.752 E/AndroidRuntime( 4281): at android.os.Looper.loop(Looper.java:194) 02-24 09:45:39.752 E/AndroidRuntime( 4281): at android.app.ActivityThread.main(ActivityThread.java:5405) 02-24 09:45:39.752 E/AndroidRuntime( 4281): at java.lang.reflect.Method.invokeNative(Native Method) 02-24 09:45:39.752 E/AndroidRuntime( 4281): at java.lang.reflect.Method.invoke(Method.java:525) 02-24 09:45:39.752 E/AndroidRuntime( 4281): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:838) 02-24 09:45:39.752 E/AndroidRuntime( 4281): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605) 02-24 09:45:39.752 E/AndroidRuntime( 4281): at dalvik.system.NativeStart.main(Native Method) 
+7
android android-4.2-jelly-bean
source share

No one has answered this question yet.

See related questions:

nine
Bad notification: Failed to extend RemoteViews for: StatusBarNotification. on Android Nougat
6
Failed to extend RemoteViews for: StatusBarNotification
2
Android NotificationManager Error - Bad Notification
one
Is there a way to show the video in a remote view notification on Android?
one
android.app.RemoteServiceException: Incorrect notification sent from the package. Failed to extend RemoteViews for: StatusBarNotification
0
How to fix this exception - looks caused by firebase messaging?
0
RemoteServiceException: bad notification for startForeground in Android 8.0
0
Notice Exclusion
0
Bad Notification Reported
0
Exception: android.app.RemoteServiceException Invalid notification sent from package

All Articles