android.app.RemoteServiceException: Bad notification for startForeground: java.lang.RuntimeException: icon must be non-zero

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by kjjgibson
, 1 year ago
Bad notification for startForeground: java.lang.RuntimeException: icon must be non-zero
via GitHub by zack-barakat
, 1 month ago
Bad notification posted from package com.gobike.consumer: Couldn't create icon: StatusBarIcon(pkg=com.gobike.consumeruser=0 id=0x7f0200f9 level=0 visible=true num=0 )
via cyanogenmod.org by Unknown author, 1 year ago
Bad notification posted from package com.android.systemui: Couldn't create icon: StatusBarIcon(pkg=com.android.systemuiuser=0 id=0x0 level=0 visible=true num=0 )
via Stack Overflow by MOST2K2
, 2 years ago
Bad notification posted from package com.ledblinker: Couldn't create icon: StatusBarIcon(pkg=com.ledblinkeruser=0 id=0x0 level=0 visible=true num=0 )
android.app.RemoteServiceException: Bad notification for startForeground: java.lang.RuntimeException: icon must be non-zero
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1466)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5254)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
24 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.