在小米 10 系列设备,Android 11 系统, 应用发送通知时产生崩溃:
Fatal Exception: android.app.RemoteServiceException
Bad notification(tag=null, id=101) posted from packageName,
crashing app(uid=10692, pid=26222): Couldn't inflate contentViewsjava.lang.NullPointerException:
Attempt to invoke virtual method 'android.app.Notification$MessagingStyle
android.app.Notification$MessagingStyle.setConversationType(int)' on a null object reference


有没有用小米10 系列、Android 11 系统的小伙伴遇到过这种情况?
网友评论