我使用 jpush 3.4.1 jcore 2.2.4 init 后 调用 getRegistrationID 返回空 无法得到设备注册id

leaf1200
2019-12-01 08:23 164 0

以下是 输出的 logcat

```
2019-12-01 15:49:20.092 3074-3074/com.tongxin.mobile D/JIGUANG-JCore: [JCoreHelper] runActionWithService action:change_foreground
2019-12-01 15:49:28.112 3497-3497/com.tongxin.mobile D/JIGUANG-JPush: [JPushInterface] action:init - sdkVersion:3.4.1, buildId:57
2019-12-01 15:49:28.128 3497-3497/com.tongxin.mobile D/JIGUANG-JPush: [AndroidUtil] action:checkValidManifest
2019-12-01 15:49:28.133 3497-3497/com.tongxin.mobile I/JIGUANG-JPush: [JPushGobal] found messageReceiverClass :com.tongxin.mobile.MyPushMessageReceiverat com.tongxin.mobile by getCommonReceiverNames
2019-12-01 15:49:28.168 3497-3536/com.tongxin.mobile D/JIGUANG-JCore: [JCoreHelper] runActionWithService action:init
2019-12-01 15:49:28.168 3497-3543/com.tongxin.mobile I/JIGUANG-JCore: [JCoreGobal] action:init jcore,version:2.2.4,build id:63
2019-12-01 15:49:28.179 3497-3543/com.tongxin.mobile I/.tongxin.mobil: at android.content.pm.ComponentInfo cn.jiguang.f.a.a(android.content.Context, java.lang.String, java.lang.Class) ((null):-1)
2019-12-01 15:49:28.179 3497-3543/com.tongxin.mobile I/.tongxin.mobil: at java.lang.String cn.jiguang.am.c.b(android.content.Context) ((null):-1)
2019-12-01 15:49:28.179 3497-3543/com.tongxin.mobile I/.tongxin.mobil: at boolean cn.jiguang.a.a.a(android.content.Context) ((null):-1)
2019-12-01 15:49:28.179 3497-3543/com.tongxin.mobile I/.tongxin.mobil: at void cn.jiguang.a.c.run() ((null):-1)
2019-12-01 15:49:28.179 3497-3543/com.tongxin.mobile I/.tongxin.mobil: at android.content.pm.ComponentInfo cn.jiguang.f.a.a(android.content.Context, java.lang.String, java.lang.Class) ((null):-1)
2019-12-01 15:49:28.179 3497-3543/com.tongxin.mobile I/.tongxin.mobil: at java.lang.String cn.jiguang.am.c.b(android.content.Context) ((null):-1)
2019-12-01 15:49:28.179 3497-3543/com.tongxin.mobile I/.tongxin.mobil: at boolean cn.jiguang.a.a.a(android.content.Context) ((null):-1)
2019-12-01 15:49:28.179 3497-3543/com.tongxin.mobile I/.tongxin.mobil: at void cn.jiguang.a.c.run() ((null):-1)
2019-12-01 15:49:28.179 3497-3543/com.tongxin.mobile I/.tongxin.mobil: at android.content.pm.ComponentInfo cn.jiguang.f.a.a(android.content.Context, java.lang.String, java.lang.Class) ((null):-1)
2019-12-01 15:49:28.179 3497-3543/com.tongxin.mobile I/.tongxin.mobil: at java.lang.String cn.jiguang.am.c.b(android.content.Context) ((null):-1)
2019-12-01 15:49:28.179 3497-3543/com.tongxin.mobile I/.tongxin.mobil: at boolean cn.jiguang.a.a.a(android.content.Context) ((null):-1)
2019-12-01 15:49:28.179 3497-3543/com.tongxin.mobile I/.tongxin.mobil: at void cn.jiguang.a.c.run() ((null):-1)
2019-12-01 15:49:28.179 3497-3543/com.tongxin.mobile I/.tongxin.mobil: at android.content.pm.ComponentInfo cn.jiguang.f.a.a(android.content.Context, java.lang.String, java.lang.Class) ((null):-1)
2019-12-01 15:49:28.179 3497-3543/com.tongxin.mobile I/.tongxin.mobil: at java.lang.String cn.jiguang.am.c.b(android.content.Context) ((null):-1)
2019-12-01 15:49:28.179 3497-3543/com.tongxin.mobile I/.tongxin.mobil: at boolean cn.jiguang.a.a.a(android.content.Context) ((null):-1)
2019-12-01 15:49:28.179 3497-3543/com.tongxin.mobile I/.tongxin.mobil: at void cn.jiguang.a.c.run() ((null):-1)
2019-12-01 15:49:28.179 3497-3543/com.tongxin.mobile I/.tongxin.mobil: at android.content.pm.ComponentInfo cn.jiguang.f.a.a(android.content.Context, java.lang.String, java.lang.Class) ((null):-1)
2019-12-01 15:49:28.179 3497-3543/com.tongxin.mobile I/.tongxin.mobil: at java.lang.String cn.jiguang.am.c.b(android.content.Context) ((null):-1)
2019-12-01 15:49:28.179 3497-3543/com.tongxin.mobile I/.tongxin.mobil: at boolean cn.jiguang.a.a.a(android.content.Context) ((null):-1)
2019-12-01 15:49:28.179 3497-3543/com.tongxin.mobile I/.tongxin.mobil: at void cn.jiguang.a.c.run() ((null):-1)
2019-12-01 15:49:28.179 3497-3543/com.tongxin.mobile I/.tongxin.mobil: at android.content.pm.ComponentInfo cn.jiguang.f.a.a(android.content.Context, java.lang.String, java.lang.Class) ((null):-1)
2019-12-01 15:49:28.179 3497-3543/com.tongxin.mobile I/.tongxin.mobil: at java.lang.String cn.jiguang.am.c.b(android.content.Context) ((null):-1)
2019-12-01 15:49:28.179 3497-3543/com.tongxin.mobile I/.tongxin.mobil: at boolean cn.jiguang.a.a.a(android.content.Context) ((null):-1)
2019-12-01 15:49:28.179 3497-3543/com.tongxin.mobile I/.tongxin.mobil: at void cn.jiguang.a.c.run() ((null):-1)

1个回答

热门排序