极光报错误getPushInstance not found push instance.

收不到消息
标签: #<Tag:0x00007fb83444a220>

#14

这个日志并不是我们的日志,极光的日志会有 jiguang、jpush这样的tag。


(zhoubing) #15

OK,那我再检查下


(zhoubing) #16

获取registrationID失败


(zhoubing) #17

没看到什么错误


(zhoubing) #18

怎么会这样呢》??都没有错误


#19

之前你说的是 已经取到了,为什么现在又失败了?

请根据这里的说明,取到完整的日志,不要被多进程所影响而没看到完整的信息。


(zhoubing) #20

这个是另一个应用,我一共三个应用使用了您们的平台;我一个一个在试获取ID


#21

那请将完整的日志给一下吧,下午再分析(现在午休)。

并在获取registrationID时注意,延迟一下,不要init后马上获取。


(zhoubing) #22

en ,好的


(zhoubing) #23

我的日志,我刚刚查了,只有这么多,就是获取ID失败;我只有一个应用是成功的,其他两个应用是失败的


#24

将get方法延后,监听下广播。

另外,完整的日志肯定不止这么多,你有没有开多进程?是自动集成的还是手动集成的?


(zhoubing) #25
01-29 13:19:30.858 1180-1425/? I/HwPFWLogger: AppAutoStartupPolicy:prevent scheduleRestart service of package com.xinyi.qs, serviceInfo cn.jpush.android.service.PushService
01-29 13:19:31.927 4638-4638/? I/JIGUANG-JPush: [PluginPlatformsInterface] whichPlatform - 0
01-29 13:19:31.928 4638-4638/? I/JIGUANG-JPush: [PluginPlatformsInterface] isIntegrateFCM -false
01-29 13:19:32.259 4675-4675/? I/JIGUANG-JPush: [PluginPlatformsInterface] whichPlatform - 0
01-29 13:19:32.259 4675-4675/? I/JIGUANG-JPush: [PluginPlatformsInterface] isIntegrateFCM -false
01-29 13:19:32.323 4698-4698/? I/JIGUANG-JPush: [PluginPlatformsInterface] whichPlatform - 0
01-29 13:19:32.324 4698-4698/? I/JIGUANG-JPush: [PluginPlatformsInterface] isIntegrateFCM -false
01-29 13:19:32.455 1180-28290/? I/HwPFWLogger: AppAutoStartupPolicy:prevent start service of package aihuishou.aihuishouapp, serviceInfo cn.jpush.android.service.DaemonService by callerPid 4675, callerUid 10465
01-29 13:19:32.463 1180-1885/? I/HwPFWLogger: AppAutoStartupPolicy:prevent start service of package aihuishou.aihuishouapp, serviceInfo cn.jpush.android.service.DaemonService by callerPid 4675, callerUid 10465
01-29 13:19:32.467 1180-3063/? I/HwPFWLogger: AppAutoStartupPolicy:prevent start service of package com.dianzhi.xianzhuan, serviceInfo cn.jpush.android.service.DaemonService by callerPid 4675, callerUid 10465
01-29 13:19:32.470 1180-28354/? I/HwPFWLogger: AppAutoStartupPolicy:prevent start service of package com.dianzhi.xianzhuan, serviceInfo cn.jpush.android.service.DaemonService by callerPid 4675, callerUid 10465
01-29 13:19:32.474 1180-28293/? I/HwPFWLogger: AppAutoStartupPolicy:prevent start service of package com.jingdong.app.reader, serviceInfo cn.jpush.android.service.DaemonService by callerPid 4675, callerUid 10465
01-29 13:19:32.490 1180-1425/? I/HwPFWLogger: AppAutoStartupPolicy:prevent start service of package com.jingdong.app.reader, serviceInfo cn.jpush.android.service.DaemonService by callerPid 4675, callerUid 10465
01-29 13:19:32.505 1180-2169/? I/HwPFWLogger: AppAutoStartupPolicy:prevent start service of package com.order.orderbymorefun, serviceInfo cn.jpush.android.service.DaemonService by callerPid 4675, callerUid 10465
01-29 13:19:32.513 1180-2172/? I/HwPFWLogger: AppAutoStartupPolicy:prevent start service of package com.order.orderbymorefun, serviceInfo cn.jpush.android.service.DaemonService by callerPid 4675, callerUid 10465
01-29 13:19:32.520 1180-1601/? I/HwPFWLogger: AppAutoStartupPolicy:prevent start provider of package com.order.orderbymorefun, auth: com.order.orderbymorefun.DownloadProvider, name: cn.jpush.android.service.DownloadProvider by callerPid 4675, callerUid 10465
01-29 13:19:32.525 1180-2160/? I/HwPFWLogger: AppAutoStartupPolicy:prevent start service of package com.xinyi.morefun.morefun, serviceInfo cn.jpush.android.service.DaemonService by callerPid 4675, callerUid 10465
01-29 13:19:32.529 1180-1885/? I/HwPFWLogger: AppAutoStartupPolicy:prevent start service of package com.xinyi.morefun.morefun, serviceInfo cn.jpush.android.service.DaemonService by callerPid 4675, callerUid 10465
01-29 13:19:32.532 1180-28289/? I/HwPFWLogger: AppAutoStartupPolicy:prevent start provider of package com.xinyi.morefun.morefun, auth: com.xinyi.morefun.morefun.DownloadProvider, name: cn.jpush.android.service.DownloadProvider by callerPid 4675, callerUid 10465
01-29 13:19:32.538 1180-3043/? I/HwPFWLogger: AppAutoStartupPolicy:prevent start service of package com.xinyi.sj, serviceInfo cn.jpush.android.service.DaemonService by callerPid 4675, callerUid 10465
01-29 13:19:32.544 1180-8215/? I/HwPFWLogger: AppAutoStartupPolicy:prevent start service of package com.xinyi.sj, serviceInfo cn.jpush.android.service.DaemonService by callerPid 4675, callerUid 10465
01-29 13:19:32.547 1180-3063/? I/HwPFWLogger: AppAutoStartupPolicy:prevent start provider of package com.xinyi.sj, auth: com.xinyi.sj.DownloadProvider, name: cn.jpush.android.service.DownloadProvider by callerPid 4675, callerUid 10465

就这么多了


(zhoubing) #26

我延后了也是一样,我现在只有一个应该可以成功,另外两个应用是失败的;是不是我同时收集装了三个个APP,他们相互影响;按道理不可能啊;您们绑定的是包名


#27

你这看的应该是多进程cn.jpush.android.service.DaemonService的日志。

正常的日志,最起码都会在最开始打印 AppKey 和SDK版本信息等。

你在找下主进程的日志,或者将多进程去掉后再看下。


(zhoubing) #28


(zhoubing) #29

真的没日志了,:disappointed_relieved:


(zhoubing) #30

我就是这样初始化,之后我延迟也是一样,然后我后台发送也收不到


(zhoubing) #31

我只有今天一天的时间,拜托帮我看;谢谢


#32

没有日志,那我这里真的没法做分析额,你将 多进程那个去掉,在 Application 里面初始化


(zhoubing) #33

我是在这个Application中加的,没在Activity中加的