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

GitHub | kjjgibson | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

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

    GitHub | 2 years ago | kjjgibson
    android.app.RemoteServiceException: Bad notification for startForeground: java.lang.RuntimeException: icon must be non-zero
  2. 0

    RuntimeException: icon must be non-zero

    GitHub | 3 years ago | DanielNovak
    android.app.RemoteServiceException: Bad notification for startForeground: java.lang.RuntimeException: icon must be non-zero
  3. 0

    Android Studio issue after upgrade

    Stack Overflow | 10 months ago | Julia
    android.app.RemoteServiceException: Bad notification posted from package com.musicplayer: Couldn't expand RemoteViews for: StatusBarNotification(pkg=com.musicplayer user=UserHandle{0} id=11 tag=null score=0 key=0|com.musicplayer|11|null|10506: Notification(pri=0 contentView=com.musicplayer/0x7f040039 vibrate=null sound=null defaults=0x20 flags=0x2 color=0x00000000 vis=PRIVATE))
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 2216#111138359

    GitHub | 2 years ago | Amaluki
    android.app.RemoteServiceException: Bad notification posted from package biz.bokhorst.xprivacy: Couldn't create icon: StatusBarIcon(pkg=biz.bokhorst.xprivacyuser=0 id=0x7f02004b level=0 visible=true num=0 )
  6. 0

    [ONEPLUS ONE] Tema OneL+ | Page 37 - OnePlus Forums

    oneplus.net | 1 year ago
    android.app.RemoteServiceException: Bad notification posted from package com.whatsapp: Couldn't expand RemoteViews for: StatusBarNotification(pkg=com.whatsapp user=UserHandle{0} id=1 tag=null score=0: Notification(pri=0 contentView=com.whatsapp/0x1090065 vibrate=default sound=null defaults=0x2 flags=0x0 kind=[null]))

  1. gaurav 21 times, last 4 months ago
  2. rube 16 times, last 6 months ago
  3. jk 128 times, last 9 months ago
  4. Chandan Jha 32 times, last 1 year ago
21 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. android.app.RemoteServiceException

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

    at android.app.ActivityThread$H.handleMessage()
  2. Android Platform
    ActivityThread.main
    1. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1466)
    2. android.os.Handler.dispatchMessage(Handler.java:102)
    3. android.os.Looper.loop(Looper.java:135)
    4. android.app.ActivityThread.main(ActivityThread.java:5254)
    4 frames
  3. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  4. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
    2 frames