前一段时间,我有推送通知,但现在不再起作用。
Android 8.0
有问题吗?
自从上一个工作版本以来,我没有更改AndroidManifest.xml
,而是再次检查了http://docs.gluonhq.com/samples/pushnotes示例。
发送消息并运行logcat
时,出现以下错误消息:
No Channel found for pkg=[myPackageName], channelId=null, id=123456, tag=null, opPkg=[myPackageName], callingUid=10298, userId=0, incomingUserId=0, notificationUid=10298, notification=Notification(channel=null pri=2 contentView=null vibrate=default sound=null defaults=0x2 flags=0x10 color=0x00000000 category=event vis=PUBLIC)
这也是:
The Google Play services resources were not found. Check your project configuration to ensure that the resources are included
任何帮助表示赞赏!