在5.0以下系统收不到通知

registrationid
android
jpush
收不到消息
标签: #<Tag:0x00007fb83fb15ea0> #<Tag:0x00007fb83fb15d60> #<Tag:0x00007fb83fb15c20> #<Tag:0x00007fb83fb15ae0>

(Gyh) #1
05-29 11:56:51.192 24001-24001/? D/JIGUANG-JPush: [JPushInterface] action:init - sdkVersion:3.1.1, buildId:396
05-29 11:56:51.252 24001-24001/? I/dalvikvm: Could not find method android.webkit.WebSettings.setMixedContentMode, referenced from method cn.jpush.android.d.a.a
05-29 11:56:51.252 24001-24001/? D/JIGUANG-JPush: [AndroidUtil] action:checkValidManifest
05-29 11:56:51.262 24001-24001/? I/dalvikvm: Could not find method com.google.firebase.iid.FirebaseInstanceId.getInstance, referenced from method cn.jpush.android.c.g.b
05-29 11:56:51.262 24001-24001/? I/dalvikvm: Could not find method com.google.firebase.FirebaseApp.initializeApp, referenced from method cn.jpush.android.c.g.a
05-29 11:56:51.262 24001-24001/? I/dalvikvm: Could not find method com.xiaomi.mipush.sdk.MiPushClient.shouldUseMIUIPush, referenced from method cn.jpush.android.c.i.f
05-29 11:56:51.272 24001-24001/? I/JIGUANG-JPush: [PluginPlatformsInterface] whichPlatform - 0
05-29 11:56:51.272 24001-24001/? I/JIGUANG-JPush: [PluginPlatformsInterface] isIntegrateFCM -false
05-29 11:56:51.382 24035-24035/? D/JIGUANG-JPush: [JPushInterface] action:init - sdkVersion:3.1.1, buildId:396
05-29 11:56:51.462 24035-24035/? I/dalvikvm: Could not find method android.webkit.WebSettings.setMixedContentMode, referenced from method cn.jpush.android.d.a.a
05-29 11:56:51.462 24035-24035/? D/JIGUANG-JPush: [AndroidUtil] action:checkValidManifest
05-29 11:56:51.472 24035-24035/? I/dalvikvm: Could not find method com.google.firebase.iid.FirebaseInstanceId.getInstance, referenced from method cn.jpush.android.c.g.b
05-29 11:56:51.472 24035-24035/? I/dalvikvm: Could not find method com.google.firebase.FirebaseApp.initializeApp, referenced from method cn.jpush.android.c.g.a
05-29 11:56:51.472 24035-24035/? I/dalvikvm: Could not find method com.xiaomi.mipush.sdk.MiPushClient.shouldUseMIUIPush, referenced from method cn.jpush.android.c.i.f
05-29 11:56:51.492 24035-24035/? I/JIGUANG-JPush: [PluginPlatformsInterface] whichPlatform - 0
05-29 11:56:51.492 24035-24035/? I/JIGUANG-JPush: [PluginPlatformsInterface] isIntegrateFCM -false
05-29 11:56:51.522 24035-24035/? D/JIGUANG-JCore: [PushService] onStartCommand - intent:Intent { act=com.yangyi.gyh.pquser.run.action cmp=com.yangyi.gyh.pquser/cn.jpush.android.service.PushService (has extras) }, pkg:com.yangyi.gyh.pquser, connection:0
05-29 11:56:51.522 24035-24035/? D/JIGUANG-JCore: [PushService] onStartCommand - intent:Intent { act=com.yangyi.gyh.pquser.intent.INIT cmp=com.yangyi.gyh.pquser/cn.jpush.android.service.PushService (has extras) }, pkg:com.yangyi.gyh.pquser, connection:0
05-29 11:56:51.522 24035-24076/? D/JIGUANG-JCore: [ARunAction] Bundle[{sdktype=JCORE, report=crash_log, action=cn.jpush.android.intent.REPORT, report.extra.info=}]
05-29 11:56:51.532 24035-24035/? D/JIGUANG-JCore: [PushService] onStartCommand - intent:Intent { act=com.yangyi.gyh.pquser.intent.RTC cmp=com.yangyi.gyh.pquser/cn.jpush.android.service.PushService (has extras) }, pkg:com.yangyi.gyh.pquser, connection:0
05-29 11:56:51.532 24035-24035/? D/JIGUANG-JCore: [PushService] onStartCommand - intent:Intent { act=com.yangyi.gyh.pquser.cn.jpush.android.intent.check.notification.state cmp=com.yangyi.gyh.pquser/cn.jpush.android.service.PushService (has extras) }, pkg:com.yangyi.gyh.pquser, connection:0
05-29 11:56:51.532 24035-24035/? D/JIGUANG-JCore: [PushService] onStartCommand - intent:Intent { act=com.yangyi.gyh.pquser.run.action cmp=com.yangyi.gyh.pquser/cn.jpush.android.service.PushService (has extras) }, pkg:com.yangyi.gyh.pquser, connection:0
05-29 11:56:51.532 24035-24035/? D/JIGUANG-JCore: [PushService] onStartCommand - intent:Intent { act=com.yangyi.gyh.pquser.intent.INIT cmp=com.yangyi.gyh.pquser/cn.jpush.android.service.PushService (has extras) }, pkg:com.yangyi.gyh.pquser, connection:0
05-29 11:56:51.552 24035-24035/? D/JIGUANG-JPush: [PushReceiverCore] onReceive - android.net.conn.CONNECTIVITY_CHANGE
05-29 11:56:51.552 24035-24035/? D/JIGUANG-JCore: [PushService] onStartCommand - intent:Intent { act=com.yangyi.gyh.pquser.intent.CONNECTIVITY_CHANGE cmp=com.yangyi.gyh.pquser/cn.jpush.android.service.PushService (has extras) }, pkg:com.yangyi.gyh.pquser, connection:0
05-29 11:56:51.562 24035-24076/? D/JIGUANG-JCore: [ARunAction] Bundle[{sdktype=JCORE, report=crash_log, action=cn.jpush.android.intent.REPORT, report.extra.info=}]
05-29 11:56:51.762 24091-24091/? D/JIGUANG-JPush: [JPushInterface] action:init - sdkVersion:3.1.1, buildId:396
05-29 11:56:51.852 24035-24035/? D/JIGUANG-JCore: [PushService] onStartCommand - intent:Intent { act=com.yangyi.gyh.pquser.run.action cmp=com.yangyi.gyh.pquser/cn.jpush.android.service.PushService (has extras) }, pkg:com.yangyi.gyh.pquser, connection:717
05-29 11:56:51.852 24035-24076/? D/JIGUANG-JCore: [ARunAction] Bundle[{sdktype=JCORE, report=crash_log, action=cn.jpush.android.intent.REPORT, report.extra.info=}]
05-29 11:56:51.852 24091-24091/? I/dalvikvm: Could not find method android.webkit.WebSettings.setMixedContentMode, referenced from method cn.jpush.android.d.a.a
05-29 11:56:51.862 24091-24091/? D/JIGUANG-JPush: [AndroidUtil] action:checkValidManifest
05-29 11:56:51.862 24035-24035/? D/JIGUANG-JCore: [PushService] onStartCommand - intent:Intent { act=com.yangyi.gyh.pquser.intent.INIT cmp=com.yangyi.gyh.pquser/cn.jpush.android.service.PushService (has extras) }, pkg:com.yangyi.gyh.pquser, connection:717
05-29 11:56:51.862 24091-24091/? I/dalvikvm: Could not find method com.google.firebase.iid.FirebaseInstanceId.getInstance, referenced from method cn.jpush.android.c.g.b
05-29 11:56:51.872 24091-24091/? I/dalvikvm: Could not find method com.google.firebase.FirebaseApp.initializeApp, referenced from method cn.jpush.android.c.g.a
05-29 11:56:51.872 24091-24091/? I/dalvikvm: Could not find method com.xiaomi.mipush.sdk.MiPushClient.shouldUseMIUIPush, referenced from method cn.jpush.android.c.i.f
05-29 11:56:51.872 24091-24091/? I/JIGUANG-JPush: [PluginPlatformsInterface] whichPlatform - 0
05-29 11:56:51.882 24091-24091/? I/JIGUANG-JPush: [PluginPlatformsInterface] isIntegrateFCM -false

(Gyh) #2

这是配置





#3

1、你的 log 中没有报错信息,无法分析是否集成成功或者失败
2、请在 ndk 处添加完整的 CPU 类型,以免手机仅支持某一个框架而你没有导致集成失败


(Gyh) #4

这是我用Dome试验的,获取Registration Id 失败,初始化也失败,调试手机是:三星手机galaxy note3 life 4G ,型号:SM-N7508V,系统 android4.3

05-29 13:36:42.622 912-912/? D/JIGUANG-JPush: [JPushInterface] action:init - sdkVersion:3.1.3, buildId:405
05-29 13:36:42.702 912-912/? D/JIGUANG-JPush: [AndroidUtil] action:checkValidManifest
05-29 13:36:42.702 912-912/? I/dalvikvm: Could not find method android.webkit.WebSettings.setMixedContentMode, referenced from method cn.jpush.android.d.a.a
05-29 13:36:42.722 912-912/? I/dalvikvm: Could not find method com.google.firebase.iid.FirebaseInstanceId.getInstance, referenced from method cn.jpush.android.c.g.b
05-29 13:36:42.722 912-912/? I/dalvikvm: Could not find method com.google.firebase.FirebaseApp.initializeApp, referenced from method cn.jpush.android.c.g.a
05-29 13:36:42.722 912-912/? I/dalvikvm: Could not find method com.xiaomi.mipush.sdk.MiPushClient.shouldUseMIUIPush, referenced from method cn.jpush.android.c.i.f
05-29 13:36:42.722 912-912/? I/JIGUANG-JPush: [PluginPlatformsInterface] whichPlatform - 0
05-29 13:36:42.722 912-912/? I/JIGUANG-JPush: [PluginPlatformsInterface] isIntegrateFCM -false

#5
ndk {
            //选择要添加的对应cpu类型的.so库。
            abiFilters 'armeabi', 'armeabi-v7a', 'arm64-v8a','x86', 'x86_64', 'mips', 'mips64'
            
        }

把这些都加上看下


(Gyh) #6

5.0系统的手机测试了,没有问题,5.0系统的手机:魅蓝2 ,型号:M578C ,系统5.1


(Gyh) #7

我集成了百度地图,加上这些我打包有问题


(Gyh) #8

这次我用了,官方给的测试Dome,也不行,上面已经和你说了


#9

给我提供完整的 log,上述 log 中没有体现出有集成失败的内容。


(Gyh) #11

这是调试的日志,你看看有什么问题
logjpush.txt (2.5 MB)


(Gyh) #12

你看我的日志了吗,我现在是下载这里的demo调试的。我把日志给你logjpush.txt (2.5 MB)


#14

你这台手机使用的网络是什么?切换一个网络后尝试,当前查看 log 只看到连接不上极光的 sis 服务,一般与网络有关系


(Gyh) #15

确实网的问题,但是我的魅蓝2手机就没有问题,这是什么原因呢


#16

你之前连的什么网?现在改为什么网络后可以成功?魅蓝2连的网又是什么呢?

可能存在单机故障的情况,网络方面如果是公司 WiFi,可能存在相关限制


(Gyh) #17

魅蓝2用的就是公司的网,就可以正常获取到通知,魅蓝2 系统是5.0的
三星的手机原先连接的公司网络,然后换成我的手机网络就可以了,三星手机 系统是 4.3的