问题:E/NotificationService: Not posting notification with icon==0: Notification(pri=0 contentView=null vibrate=null sound=null defaults=0x0 flags=0x0 color=0x00000000 vis=PRIVATE)
解决:为Notification添加
.setSmallIcon(R.drawable.icon)
2024-02-12 15:24:52
问题:E/NotificationService: Not posting notification with icon==0: Notification(pri=0 contentView=null vibrate=null sound=null defaults=0x0 flags=0x0 color=0x00000000 vis=PRIVATE)
解决:为Notification添加
.setSmallIcon(R.drawable.icon)