阿里云
阿里云飞天战略营全新发布
发表主题 回复主题
  • 1074阅读
  • 0回复

android8.0推送notification状态栏不提示

级别: 新人
发帖
1
云币
2
android8.0  推送notification状态栏不提示,测试机:华为荣耀9,8.0系统(推送权限是打开的) 8.0以下系统可以接受到推送通知并展示。用的是最新的推送库
报错信息如下:

12-13 14:02:15.262 32416-32461/包名 E/awcn.TnetSpdySession: |[seq:24534662.AWCN1_1] [spdyCustomControlFrameRecvCallback] len:706 frameCb:com.taobao.accs.net.k@3c6d6a8
12-13 14:02:15.266 32416-32461/包名 E/accs.InAppConn_24534662:  onDataReceive, end:
12-13 14:02:15.289 32416-1525/包名 E/awcn.TnetSpdySession: |[seq:24534662.AWCN1_1] sendCustomFrame dataId:-12 type:200
12-13 14:02:15.382 32416-1526/包名 E/accs.NotifManager:  report dataId: status:4 errorcode:
12-13 14:02:15.390 32416-1525/包名 E/awcn.TnetSpdySession: |[seq:24534662.AWCN1_1] sendCustomFrame dataId:12 type:200
12-13 14:02:15.407 32416-32461/包名 E/awcn.TnetSpdySession: |[seq:24534662.AWCN1_1] [spdyCustomControlFrameRecvCallback] len:268 frameCb:com.taobao.accs.net.k@3c6d6a8
12-13 14:02:15.410 32416-32461/包名 E/awcn.TnetSpdySession: |[seq:24534662.AWCN1_1] str:20 40 1 8 1 6 e0 0 32 57 67 65 6d 4a 72 6b 33 6f 57 73 44 41 42 65 2b 38 56 56 47 4b 37 4f 6f 7c 63 6f 6d 2e 77 73 6d 61 6c 6c 2e 62 75 79 65 72 7c 61 67 6f 6f 41 63 6b 7c a 32 7c 61 67 6f 6f 41 63 6b 7c 2 31 32 0 50 10 48 66 5f 5f 2d 6e 37 47 49 6e 30 6a 42 75 43 67 41 26 26 61 6d 73 2d 70 75 73 68 2d 31 38 36 39 35 39 2d 36 32 34 33 31 34 26 26 57 67 65 6d 4a 72 6b 33 6f 57 73 44 41 42 65 2b 38 56 56 47 4b 37 4f 6f 26 26 30 31 26 26 24 4 75 6e 73 7a 7b 22 61 70 69 22 3a 22 61 67 6f 6f 52 65 70 6f 72 74 22 2c 22 69 64 22 3a 22 66 5f 5f 2d 6e 37 47 49 6e 30 6a 42 75 43 67 41 26 26 61 6d 73 2d 70 75 73 68 2d 31 38 36 39 35 39 2d 36 32 34 33 31 34 26 26 57 67 65 6d 4a 72 6b 33 6f 57 73 44 41 42 65 2b 38 56 56 47 4b 37 4f 6f 26 26 30 31 26 26 22 2c 22 73 74 61 74 75 73 22 3a 22 34 22 7d
12-13 14:02:15.411 32416-32461/包名 E/accs.InAppConn_24534662:  onDataReceive, end:
12-13 14:02:15.428 32416-32416/包名 E/MPS:CustomNotificationBuilder: no corresponding custom notificaiton
12-13 14:02:15.448 32416-32416/包名 E/MPS:MessageNotification: can't find certain activity class:
                                                                           java.lang.NullPointerException
                                                                               at java.lang.Class.classForName(Native Method)
                                                                               at java.lang.Class.forName(Class.java:453)
                                                                               at java.lang.Class.forName(Class.java:378)
                                                                               at com.alibaba.sdk.android.push.notification.e.a(Unknown Source:658)
                                                                               at com.alibaba.sdk.android.push.MessageReceiver.onHandleCall(Unknown Source:285)
                                                                               at com.alibaba.sdk.android.push.AgooMessageReceiver.onReceive(Unknown Source:63)
                                                                               at android.app.ActivityThread.handleReceiver(ActivityThread.java:3672)
                                                                               at android.app.ActivityThread.-wrap18(Unknown Source:0)
                                                                               at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1969)
                                                                               at android.os.Handler.dispatchMessage(Handler.java:108)
                                                                               at android.os.Looper.loop(Looper.java:166)
                                                                               at android.app.ActivityThread.main(ActivityThread.java:7393)
                                                                               at java.lang.reflect.Method.invoke(Native Method)
                                                                               at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
                                                                               at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
12-13 14:02:15.456 32416-32416/包名 E/NotificationManager: notifyAsUser: tag=null, id=540848, user=UserHandle{0}
发表主题 回复主题
« 返回列表上一主题下一主题

限100 字节
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
 
验证问题: 90 - 38 = ?
上一个 下一个