努比亚手机获取不到设备号

android
标签: #<Tag:0x00007fb83a5b7530>

#1

努比亚手机获取不到RegistrationID


#2

请提供客户端日志


#3

是因为jpush初始化失败吗


#4

需要看 log 来分析原因。


#5


#6
D/JIGUANG-JPush: [JPushInterface] action:init - sdkVersion:3.0.6, buildId:367
05-18 13:36:43.928 15869-15869/? D/JIGUANG-JPush: [AndroidUtil] action:checkValidManifest
05-18 13:36:43.949 15869-15869/? D/JIGUANG-JCore: [AndroidUtil] action:checkValidManifest
05-18 13:36:43.958 15869-15869/? D/JIGUANG-JCore: [JCoreServiceUtils] set Push/Alarm Receiver enabled
05-18 13:36:43.970 15869-15869/? D/JIGUANG-JCore: [JCoreGlobal] action:init - sdkVersion:1.1.3, buildId:138
05-18 13:36:43.995 15869-15869/? I/JIGUANG-JPush: [PluginPlatformsInterface] whichPlatform - 0
05-18 13:36:44.997 15869-15893/? D/JIGUANG-JCore: [ARunAction]  pkg:com.sd.zhonghaichuangfu.zhongchou
05-18 13:36:44.997 15869-15893/? D/JIGUANG-JCore: [ARunAction] Bundle[{action=cn.jpush.android.intent.REPORT, report.extra.info=, report=crash_log, sdktype=JCORE}]
05-18 13:36:44.998 15869-15893/? D/JIGUANG-JCore: [JiguangTcpManager] Action - restartNetworkingClient, pid:15869
05-18 13:36:45.000 15869-15953/? I/JIGUANG-JCore: [NetworkingClient] Begin to run in ConnectingThread - id:3281
05-18 13:36:45.048 15869-15953/? D/JIGUANG-JCore: [ConnectingHelper] Open connection with main - ip:121.46.20.44, port:7001
05-18 13:36:45.087 15869-15953/? I/JIGUANG-JCore: [ConnectingHelper] Succeed to open connection - ip:121.46.20.44, port:7001
05-18 13:36:45.088 15869-15953/? I/JIGUANG-JCore: [ConnectingHelper] Login with - juid:6364354848, appKey:30894aa2ee23e7ff9c26d5bb, sdkVersion:65795, pushVersion:196614, analyticsVersion:0 ,shareVersion:0, pluginPlatformType:0
05-18 13:36:45.157 15869-15953/? D/JIGUANG-JCore: [JCommands] Action - receivedCommand - cmd:1
05-18 13:36:45.159 15869-15953/? I/JIGUANG-JCore: [ConnectingHelper] Login succeed - sid:36390, serverTime;1526621803000
05-18 13:36:45.159 15869-15953/? D/JIGUANG-JCore: [ConnectingHelper] Action - sendServerTimer
05-18 13:36:45.216 15869-15953/? D/JIGUANG-JCore: [NetworkingClient] Network listening...
05-18 13:36:45.216 15869-15951/? D/JIGUANG-JCore: [JiguangTcpManager] Action - onLoggedIn - connection:-684654592
05-18 13:36:45.217 15869-15951/? D/JIGUANG-JCore: [ConnectingHelper] Action - sendConnectionChanged
05-18 13:36:45.219 15869-15951/? I/JIGUANG-JCore: [ReportHelper] periodTasks...
05-18 13:36:45.222 15869-15951/? I/JIGUANG-JPush: [PluginPlatformsInterface] whichPlatform - 0
05-18 13:36:45.222 15869-15951/? I/JIGUANG-JPush: [PluginPlatformsInterface] whichPlatform - 0
05-18 13:37:00.222 15869-15951/? D/JIGUANG-JCore: [JiguangTcpManager] Send heart beat
05-18 13:37:00.287 15869-15953/? D/JIGUANG-JCore: [NetworkingClient] Received bytes - len:36, connection:-684654592, pkg:com.sd.zhonghaichuangfu.zhongchou
05-18 13:37:00.289 15869-15953/? D/JIGUANG-JCore: [NetworkingClient] Network listening...
05-18 13:37:00.289 15869-15951/? D/JIGUANG-JCore: [JiguangTcpManager] Action - onHeartbeatSucceed - connection:-684654592、

#7

此处显示你集成已经成功,你现在调 API 获取 registrationID 是可以成功的。


#8

是已经集成成功了,但是我在获取JPushInterface.getRegistrationID(this)的时候努比亚手机取不到RegistrationID


#9

你这个日志是努比亚的手机的日志吗?


#10

解决了 是因为手机的设置问题 打扰了