极光推送和百度地图sdk,极光推送收不到消息

mengxin00
2018-05-22 08:27 2.9k 0

更新了新版本的百度sdk,极光推送的setAliasAndTags不走回调方法, 看进程极光的remote进程和pushcore进程没有启动
,
导致收不到推送消息, 下面是Jpush日志信息和Error日志信息,

```
05-22 16:13:50.686 24792-24792/? D/ActivityThread: SVC-Creating service: CreateServiceData{token=android.os.BinderProxy@c73861a className=cn.jpush.android.service.PushService packageName=com.mxkj.dbl intent=null}
05-22 16:13:50.691 24792-24792/? D/JPush: [PushService] Action: init PushService
05-22 16:13:50.691 24792-24792/? D/JPush: [AndroidUtil] action:checkValidManifest
05-22 16:13:50.728 24792-24792/? W/JPush: [AndroidUtil] You should make main activity extends InstrumentedActivity (JPush), otherwise you will not see user click and user active time start on report in Portal.
05-22 16:13:50.812 24792-24792/? V/ActivityThread: handleBindService s=cn.jpush.android.service.PushService@e5dbb28 rebind=false
05-22 16:13:50.815 24792-24792/? D/ActivityThread: SVC-Calling onStartCommand: cn.jpush.android.service.PushService@e5dbb28, flags=0, startId=10
05-22 16:13:50.817 24792-24792/? D/JPush: [PushService] onStartCommand - intent:Intent { act=cn.jpush.android.intent.MULTI_PROCESS cmp=com.mxkj.dbl/cn.jpush.android.service.PushService (has extras) }, pkg:com.mxkj.dbl, connection:0
05-22 16:13:50.817 24792-24792/? D/JPush: [PushService] Action - handleServiceAction - action:cn.jpush.android.intent.MULTI_PROCESS
05-22 16:13:50.820 24792-24792/? D/ActivityThread: SVC-Calling onStartCommand: cn.jpush.android.service.PushService@e5dbb28, flags=0, startId=11
05-22 16:13:50.820 24792-24792/? D/JPush: [PushService] onStartCommand - intent:Intent { act=cn.jpush.android.intent.REPORT cmp=com.mxkj.dbl/cn.jpush.android.service.PushService (has extras) }, pkg:com.mxkj.dbl, connection:0
05-22 16:13:50.820 24792-24792/? D/JPush: [PushService] Action - handleServiceAction - action:cn.jpush.android.intent.REPORT
05-22 16:13:50.863 1180-26198/? W/WakePathChecker: MIUILOG-WAKEPATH: call was rejected by wakepath. userId= 0 caller= com.mxkj.dbl callee= com.htzc.card classname=cn.jpush.android.service.DaemonService action=null wakeType=8
05-22 16:13:50.873 1180-2783/? W/WakePathChecker: MIUILOG-WAKEPATH: call was rejected by wakepath. userId= 0 caller= com.mxkj.dbl callee= com.yitop.mobile classname=cn.jpush.android.service.DaemonService action=null wakeType=8
05-22 16:13:50.874 1180-2789/? W/WakePathChecker: MIUILOG-WAKEPATH: call was rejected by wakepath. userId= 0 caller= com.mxkj.dbl callee= com.cubic.autohome classname=cn.jpush.android.service.DaemonService action=null wakeType=8
05-22 16:13:50.875 1180-2682/? W/WakePathChecker: MIUILOG-WAKEPATH: call was rejected by wakepath. userId= 0 caller= com.mxkj.dbl callee= com.jifen.qukan classname=cn.jpush.android.service.DaemonService action=null wakeType=8
05-22 16:13:50.876 1180-2737/? W/WakePathChecker: MIUILOG-WAKEPATH: call was rejected by wakepath. userId= 0 caller= com.mxkj.dbl callee= cn.pencilnews.android classname=cn.jpush.android.service.DaemonService action=null wakeType=8
05-22 16:13:50.877 1180-2776/? W/WakePathChecker: MIUILOG-WAKEPATH: call was rejected by wakepath. userId= 0 caller= com.mxkj.dbl callee= com.mxkj.track2 classname=cn.jpush.android.service.DaemonService action=null wakeType=8
05-22 16:13:50.879 1180-2751/? W/WakePathChecker: MIUILOG-WAKEPATH: call was rejected by wakepath. userId= 0 caller= com.mxkj.dbl callee= com.xunlei.downloadprovider classname=cn.jpush.android.service.DaemonService action=null wakeType=8
05-22 16:13:50.882 1180-1200/? I/ActiveServicesInjector: Low priority start of: ServiceRecord{6c421ee u0 com.ss.android.article.news/cn.jpush.android.service.DaemonService}
05-22 16:13:50.883 9015-9015/? D/ActivityThread: SVC-Calling onStartCommand: cn.jpush.android.service.DaemonService@1c879f0, flags=0, startId=2561
05-22 16:13:51.005 24823-24823/? D/JPush: [JPushInterface] action:init - sdkVersion:2.1.8, buildId:323
05-22 16:13:51.039 24823-24823/? D/JPush: [JPushGlobal] metadata: appKey - 5af5d0e5a2exxxxxxxxxxxxxxxxxx
05-22 16:13:51.040 24823-24823/? D/JPush: [JPushGlobal] metadata: channel - developer-default
05-22 16:13:51.052 1180-1200/? I/ActiveServicesInjector: Low priority start of: ServiceRecord{ec737ba u0 com.mxkj.dbl/cn.jpush.android.service.PushService}
05-22 16:13:51.053 24823-24823/? D/JPush: [ServiceInterface] The service is stopped, it will give up all the actions until you call resumePush method to resume the service.
05-22 16:13:51.053 24792-24792/? D/ActivityThread: SVC-Calling onStartCommand: cn.jpush.android.service.PushService@e5dbb28, flags=0, startId=12
05-22 16:13:51.054 24792-24792/? D/JPush: [PushService] onStartCommand - intent:Intent { act=cn.jpush.android.intent.REPORT cmp=com.mxkj.dbl/cn.jpush.android.service.PushService (has extras) }, pkg:com.mxkj.dbl, connection:0
05-22 16:13:51.054 24792-24792/? D/JPush: [PushService] Action - handleServiceAction - action:cn.jpush.android.intent.REPORT
05-22 16:13:51.738 24792-24792/? D/JPush: [JPushInterface] action:stopPush
05-22 16:13:51.738 24792-24792/? D/JPush: [ServiceInterface] service already stop
05-22 16:13:52.202 1180-1200/? I/ActiveServicesInjector: Low priority start of: ServiceRecord{ec737ba u0 com.mxkj.dbl/cn.jpush.android.service.PushService}
05-22 16:13:52.203 24823-24823/? D/JPush: [JPushInterface] action:stopPush
05-22 16:13:52.204 24823-24823/? D/JPush: [ServiceInterface] service already stop
05-22 16:13:52.217 1180-1200/? I/ActivityManager: Start proc 24869:com.mxkj.dbl:pushcore/u0a1085 for service com.mxkj.dbl/cn.jpush.android.service.PushService
05-22 16:13:52.408 24869-24869/? D/JPush: [JPushInterface] action:init - sdkVersion:2.1.8, buildId:323
05-22 16:13:52.450 24869-24869/? D/JPush: [JPushGlobal] metadata: appKey - 5af5d0e5a2exxxxxxxxxxxxxxxxxx
05-22 16:13:52.450 24869-24869/? D/JPush: [JPushGlobal] metadata: channel - developer-default
05-22 16:13:52.471 24869-24869/? D/JPush: [ServiceInterface] The service is stopped, it will give up all the actions until you call resumePush method to resume the service.
05-22 16:13:52.619 24869-24869/? D/ActivityThread: SVC-Creating service: CreateServiceData{token=android.os.BinderProxy@228354b className=cn.jpush.android.service.PushService packageName=com.mxkj.dbl intent=null}
05-22 16:13:52.624 24869-24869/? D/JPush: [PushService] Action: init PushService
05-22 16:13:52.624 24869-24869/? D/JPush: [AndroidUtil] action:checkValidManifest
05-22 16:13:52.666 24869-24869/? W/JPush: [AndroidUtil] You should make main activity extends InstrumentedActivity (JPush), otherwise you will not see user click and user active time start on report in Portal.
05-22 16:13:52.748 24869-24869/? V/ActivityThread: handleBindService s=cn.jpush.android.service.PushService@5df1041 rebind=false
05-22 16:13:52.750 24869-24869/? D/ActivityThread: SVC-Calling onStartCommand: cn.jpush.android.service.PushService@5df1041, flags=0, startId=13
05-22 16:13:52.760 24869-24869/? D/JPush: [PushService] onStartCommand - intent:Intent { act=cn.jpush.android.intent.MULTI_PROCESS cmp=com.mxkj.dbl/cn.jpush.android.service.PushService (has extras) }, pkg:com.mxkj.dbl, connection:0
05-22 16:13:52.760 24869-24869/? D/JPush: [PushService] Action - handleServiceAction - action:cn.jpush.android.intent.MULTI_PROCESS
05-22 16:13:52.766 24869-24869/? D/ActivityThread: SVC-Calling onStartCommand: cn.jpush.android.service.PushService@5df1041, flags=0, startId=14
05-22 16:13:52.767 24869-24869/? D/JPush: [PushService] onStartCommand - intent:Intent { act=cn.jpush.android.intent.REPORT cmp=com.mxkj.dbl/cn.jpush.android.service.PushService (has extras) }, pkg:com.mxkj.dbl, connection:0
05-22 16:13:52.767 24869-24869/? D/JPush: [PushService] Action - handleServiceAction - action:cn.jpush.android.intent.REPORT
05-22 16:13:52.839 1180-26203/? W/WakePathChecker: MIUILOG-WAKEPATH: call was rejected by wakepath. userId= 0 caller= com.mxkj.dbl callee= com.htzc.card classname=cn.jpush.android.service.DaemonService action=null wakeType=8
05-22 16:13:52.843 1180-2672/? W/WakePathChecker: MIUILOG-WAKEPATH: call was rejected by wakepath. userId= 0 caller= com.mxkj.dbl callee= com.yitop.mobile classname=cn.jpush.android.service.DaemonService action=null wakeType=8
05-22 16:13:52.844 1180-2788/? W/WakePathChecker: MIUILOG-WAKEPATH: call was rejected by wakepath. userId= 0 caller= com.mxkj.dbl callee= com.cubic.autohome classname=cn.jpush.android.service.DaemonService action=null wakeType=8
05-22 16:13:52.846 1180-2785/? W/WakePathChecker: MIUILOG-WAKEPATH: call was rejected by wakepath. userId= 0 caller= com.mxkj.dbl callee= com.jifen.qukan classname=cn.jpush.android.service.DaemonService action=null wakeType=8
05-22 16:13:52.848 1180-2411/? W/WakePathChecker: MIUILOG-WAKEPATH: call was rejected by wakepath. userId= 0 caller= com.mxkj.dbl callee= cn.pencilnews.android classname=cn.jpush.android.service.DaemonService action=null wakeType=8
05-22 16:13:52.849 1180-2783/? W/WakePathChecker: MIUILOG-WAKEPATH: call was rejected by wakepath. userId= 0 caller= com.mxkj.dbl callee= com.mxkj.track2 classname=cn.jpush.android.service.DaemonService action=null wakeType=8
05-22 16:13:52.851 1180-2009/? W/WakePathChecker: MIUILOG-WAKEPATH: call was rejected by wakepath. userId= 0 caller= com.mxkj.dbl callee= com.xunlei.downloadprovider classname=cn.jpush.android.service.DaemonService action=null wakeType=8
05-22 16:13:52.857 1180-1200/? I/ActiveServicesInjector: Low priority start of: ServiceRecord{6c421ee u0 com.ss.android.article.news/cn.jpush.android.service.DaemonService}
05-22 16:13:52.859 9015-9015/? D/ActivityThread: SVC-Calling onStartCommand: cn.jpush.android.service.DaemonService@1c879f0, flags=0, startId=2562
05-22 16:13:54.437 24917-24917/com.mxkj.dbl D/JPush: [JPushInterface] action:init - sdkVersion:2.1.8, buildId:323
05-22 16:13:54.460 24917-24917/com.mxkj.dbl D/JPush: [JPushGlobal] metadata: appKey - 5af5d0e5a2exxxxxxxxxxxxxxxxxx
05-22 16:13:54.461 24917-24917/com.mxkj.dbl D/JPush: [JPushGlobal] metadata: channel - developer-default
05-22 16:13:54.561 1180-1190/? I/ActivityManager: Start proc 24939:com.mxkj.dbl:pushcore/u0a1085 for service com.mxkj.dbl/cn.jpush.android.service.PushService
05-22 16:13:54.565 24917-24917/com.mxkj.dbl D/JPush: [ServiceInterface] The service is stopped, it will give up all the actions until you call resumePush method to resume the service.
05-22 16:13:54.663 24939-24939/? D/JPush: [JPushInterface] action:init - sdkVersion:2.1.8, buildId:323
05-22 16:13:54.691 24939-24939/? D/JPush: [JPushGlobal] metadata: appKey - 5af5d0e5a2exxxxxxxxxxxxxxxxxx
05-22 16:13:54.692 24939-24939/? D/JPush: [JPushGlobal] metadata: channel - developer-default
05-22 16:13:54.697 24917-24917/com.mxkj.dbl D/JPush: [JPushInterface] action:init - sdkVersion:2.1.8, buildId:323
05-22 16:13:54.698 24917-24917/com.mxkj.dbl D/JPush: [ServiceInterface] The service is stopped, it will give up all the actions until you call resumePush method to resume the service.
05-22 16:13:54.705 24939-24939/? D/JPush: [ServiceInterface] The service is stopped, it will give up all the actions until you call resumePush method to resume the service.
05-22 16:13:54.749 24939-24939/? D/ActivityThread: SVC-Creating service: CreateServiceData{token=android.os.BinderProxy@c73861a className=cn.jpush.android.service.PushService packageName=com.mxkj.dbl intent=null}
05-22 16:13:54.750 24939-24939/? D/JPush: [Pu

2个回答

热门排序
  • 总结下这个问题的出现,及解决方法1.首先感谢极光官方技术支持,非常感谢 2.我在Application onCreate方法中加入的定时器,长时间不操作APP就关闭程序, onCreate方法中还有很多第三方SDK的初始化操作 ; 我 展示全部
  • 1、建议升级SDK版本,你的版本太低https://docs.jiguang.cn/jpush/updates/#jpush-android-sdk-v313 2、你的日志里面有关于 JPush 的 log 中并没有错误日志,也没有看到取到 展示全部