美文网首页Android Bug
MI 10 Android 11 Fatal Exception

MI 10 Android 11 Fatal Exception

作者: 乘风破浪的程序员 | 来源:发表于2021-01-28 15:04 被阅读0次

在小米 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
image.png 网图,侵删.png

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

RemoteServiceException crashing my app on MIUI 11

相关文章

网友评论

    本文标题:MI 10 Android 11 Fatal Exception

    本文链接:https://www.haomeiwen.com/subject/agattltx.html