You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So when I add addAction to the NotificationCompat.Builder the test notifications crash the app with the following error:
03-27 23:01:07.552 7530-7530/com.example.android.background E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.android.background, PID: 7530 android.app.RemoteServiceException: Bad notification posted from package com.example.android.background: Couldn't expand RemoteViews for: StatusBarNotification(pkg=com.example.android.background user=UserHandle{0} id=1138 tag=null score=10: Notification(pri=1 contentView=com.example.android.background/0x1090064 vibrate=default sound=null defaults=0x2 flags=0x10 kind=[null] 2 actions)) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1367) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5103) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:606) at dalvik.system.NativeStart.main(Native Method)
This happens on my Lg device running 4.4.2 and another using 4.4.4 but works on my other devices just fine. I'll continue to look into this in the coming days, but if anyone knows what the cause is, please feel free to share for myself and others. The link to my current code is here
The text was updated successfully, but these errors were encountered:
So when I add addAction to the NotificationCompat.Builder the test notifications crash the app with the following error:
03-27 23:01:07.552 7530-7530/com.example.android.background E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.android.background, PID: 7530 android.app.RemoteServiceException: Bad notification posted from package com.example.android.background: Couldn't expand RemoteViews for: StatusBarNotification(pkg=com.example.android.background user=UserHandle{0} id=1138 tag=null score=10: Notification(pri=1 contentView=com.example.android.background/0x1090064 vibrate=default sound=null defaults=0x2 flags=0x10 kind=[null] 2 actions)) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1367) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5103) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:606) at dalvik.system.NativeStart.main(Native Method)
This happens on my Lg device running 4.4.2 and another using 4.4.4 but works on my other devices just fine. I'll continue to look into this in the coming days, but if anyone knows what the cause is, please feel free to share for myself and others. The link to my current code is here
The text was updated successfully, but these errors were encountered: