Not posting notification with icon==0问题解决

问题: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)

 

 

 

 





posted on 2017-06-24 16:45  zhangmiao14  阅读(821)  评论(0编辑  收藏  举报