安卓JMessage收到了推送通知,但收不到消息,onEvent没有被调用

soup
2018-12-22 06:25 703 0
01-01 10:56:24.140 16700-16700/? D/JIGUANG-JCore: [JCoreGlobal] action:init - sdkVersion:1.2.1, buildId:188
01-01 10:56:24.141 16700-16700/? D/JIGUANG-JCore: [AndroidUtil] action:checkValidManifest
01-01 10:56:24.147 16700-16700/? W/JIGUANG-JCore: [AndroidUtil] AndroidManifest.xml missing required service: cn.jpush.android.service.DaemonService
01-01 10:56:24.150 16700-16700/? D/JIGUANG-JCore: [JCoreServiceUtils] set Push/Alarm Receiver enabled
01-01 10:56:24.223 16700-16700/? I/JIGUANG-JMessage: [JMessageClient] JMessage SDK init finished! version = 2.6.1 build id = 966
01-01 10:56:24.320 16729-16729/? D/JIGUANG-JCore: [JCoreGlobal] action:init - sdkVersion:1.2.1, buildId:188
01-01 10:56:24.321 16729-16729/? D/JIGUANG-JCore: [AndroidUtil] action:checkValidManifest
01-01 10:56:24.326 16729-16729/? W/JIGUANG-JCore: [AndroidUtil] AndroidManifest.xml missing required service: cn.jpush.android.service.DaemonService
01-01 10:56:24.332 16729-16729/? D/JIGUANG-JCore: [JCoreServiceUtils] set Push/Alarm Receiver enabled
01-01 10:56:24.365 16729-16729/? I/JIGUANG-JMessage: [JMessageClient] JMessage SDK init finished! version = 2.6.1 build id = 966
01-01 10:56:24.461 16729-16729/? D/JIGUANG-JCore: [PushService] onStartCommand - intent:Intent { act=com.hongwan.mpu.run.action cmp=com.hongwan.mpu/cn.jpush.android.service.PushService (has extras) }, pkg:com.hongwan.mpu, connection:0
01-01 10:56:24.461 16729-16729/? D/JIGUANG-JCore: [PushService] onStartCommand - intent:Intent { act=com.hongwan.mpu.intent.INIT cmp=com.hongwan.mpu/cn.jpush.android.service.PushService (has extras) }, pkg:com.hongwan.mpu, connection:0
01-01 10:56:24.463 16729-16729/? D/JIGUANG-JCore: [PushService] onStartCommand - intent:Intent { act=com.hongwan.mpu.run.action cmp=com.hongwan.mpu/cn.jpush.android.service.PushService (has extras) }, pkg:com.hongwan.mpu, connection:0
01-01 10:56:24.463 16729-16729/? D/JIGUANG-JCore: [PushService] onStartCommand - intent:Intent { act=com.hongwan.mpu.intent.INIT cmp=com.hongwan.mpu/cn.jpush.android.service.PushService (has extras) }, pkg:com.hongwan.mpu, connection:0
01-01 10:56:24.464 16729-16729/? D/JIGUANG-JCore: [PushService] onStartCommand - intent:Intent { act=com.hongwan.mpu.intent.RTC cmp=com.hongwan.mpu/cn.jpush.android.service.PushService (has extras) }, pkg:com.hongwan.mpu, connection:0
01-01 10:56:24.467 16729-16729/? D/JIGUANG-JCore: [PushService] onStartCommand - intent:Intent { act=com.hongwan.mpu.cn.jpush.android.intent.check.notification.state cmp=com.hongwan.mpu/cn.jpush.android.service.PushService (has extras) }, pkg:com.hongwan.mpu, connection:0
01-01 10:56:24.542 16729-16729/? D/JIGUANG-JCore: [PushReceiver] onReceive - android.net.conn.CONNECTIVITY_CHANGE
01-01 10:56:24.544 16729-16812/? D/JIGUANG-JCore: [JiguangTcpManager] Action - restartNetworkingClient, pid:16729
01-01 10:56:24.547 16729-16782/? D/JIGUANG-JMessage: [PluginJCoreHelper] Action - sendNetworkChangedToIM
01-01 10:56:24.547 16729-16782/? D/JIGUANG-JMessage: [AndroidUtil] try to send broadcast ,  process pid - 16729 process uid - 10012 process tid - 16782is in main thread = Thread[pool-10-thread-1,5,main] bundle = Bundle[{push_to_im_data={"push_network_connected":true}}]
01-01 10:56:24.548 16729-16812/? D/JIGUANG-JCore: [JiguangTcpManager] Action - restartNetworkingClient, pid:16729
01-01 10:56:24.550 16729-16812/? D/JIGUANG-JCore: [JiguangTcpManager] isRunning:true
01-01 10:56:24.553 16729-16812/? D/JIGUANG-JCore: [ARunAction]  pkg:com.hongwan.mpu
    [ARunAction] Bundle[{action=cn.jpush.android.intent.REPORT, report.extra.info=, report=crash_log, sdktype=JCORE}]
01-01 10:56:24.556 16729-16812/? D/JIGUANG-JCore: [JiguangTcpManager] Action - restartNetworkingClient, pid:16729
01-01 10:56:24.558 16729-16830/? I/JIGUANG-JCore: [NetworkingClient] Begin to run in ConnectingThread - id:1017
01-01 10:56:24.558 16729-16812/? D/JIGUANG-JCore: [JiguangTcpManager] isRunning:true
    [ARunAction]  pkg:com.hongwan.mpu
01-01 10:56:24.559 16729-16812/? D/JIGUANG-JCore: [ARunAction] Bundle[{action=cn.jpush.android.intent.REPORT, report.extra.info=, report=crash_log, sdktype=JCORE}]
01-01 10:56:24.560 16729-16812/? D/JIGUANG-JCore: [JiguangTcpManager] Action - restartNetworkingClient, pid:16729
01-01 10:56:24.563 16729-16812/? D/JIGUANG-JCore: [JiguangTcpManager] isRunning:true
01-01 10:56:24.568 16729-16812/? D/JIGUANG-JCore: [JiguangTcpManager] Action - restartNetworkingClient, pid:16729
01-01 10:56:24.570 16729-16812/? D/JIGUANG-JCore: [JiguangTcpManager] isRunning:true
01-01 10:56:24.578 16729-16812/? D/JIGUANG-JCore: [JiguangTcpManager] Action - restartNetworkingClient, pid:16729
01-01 10:56:24.582 16729-16812/? D/JIGUANG-JCore: [JiguangTcpManager] isRunning:true
01-01 10:56:24.644 16729-16830/? D/JIGUANG-JCore: [SisPolicy] Open connection with main - ip:121.46.30.56, port:7002
01-01 10:56:24.702 16700-16851/? I/JIGUANG-JMessage: [RequestProcessor] SyncCheck stopped
01-01 10:56:24.705 16700-16700/? D/JIGUANG-JMessage: [IMReceiver] onReceive - cn.jpush.im.android.action.IM_RESPONSE
01-01 10:56:24.738 16729-16830/? I/JIGUANG-JCore: [SisPolicy] Succeed to open connection - ip:121.46.30.56, port:7002
01-01 10:56:24.767 16729-16830/? I/JIGUANG-JCore: [ConnectingHelper] Login with - juid:15287553311, appKey:acc4e79cc4cb45e509363082, sdkVersion:66049, pushVersion:0, analyticsVersion:0 ,shareVersion:0, pluginPlatformType:0
01-01 10:56:24.779 16700-16700/? W/JIGUANG-JMessage: [IMReceiver] format extra data .map = {push_network_connected=true}
01-01 10:56:24.791 16700-16856/? D/JIGUANG-JMessage: [RequestingThread] Action - sendRequestInternal - connection:, timeout:60000, threadId:1011
01-01 10:56:24.805 16784-16784/? D/JIGUANG-JCore: [JCoreGlobal] action:init - sdkVersion:1.2.1, buildId:188
01-01 10:56:24.807 16784-16784/? D/JIGUANG-JCore: [AndroidUtil] action:checkValidManifest
01-01 10:56:24.813 16784-16784/? W/JIGUANG-JCore: [AndroidUtil] AndroidManifest.xml missing required service: cn.jpush.android.service.DaemonService
01-01 10:56:24.816 16784-16784/? D/JIGUANG-JCore: [JCoreServiceUtils] set Push/Alarm Receiver enabled
01-01 10:56:24.831 16729-16729/? D/JIGUANG-JCore: [PushService] onStartCommand - intent:Intent { act=com.hongwan.mpu.run.action cmp=com.hongwan.mpu/cn.jpush.android.service.PushService (has extras) }, pkg:com.hongwan.mpu, connection:1017
01-01 10:56:24.832 16729-16812/? D/JIGUANG-JCore: [ARunAction]  pkg:com.hongwan.mpu
    [ARunAction] Bundle[{action=cn.jpush.android.intent.REPORT, report.extra.info=, report=crash_log, sdktype=JCORE}]
01-01 10:56:24.848 16784-16784/? I/JIGUANG-JMessage: [JMessageClient] JMessage SDK init finished! version = 2.6.1 build id = 966
01-01 10:56:24.848 16729-16729/? D/JIGUANG-JCore: [PushService] onStartCommand - intent:Intent { act=com.hongwan.mpu.intent.INIT cmp=com.hongwan.mpu/cn.jpush.android.service.PushService (has extras) }, pkg:com.hongwan.mpu, connection:1017
01-01 10:56:24.903 16729-16830/? I/JIGUANG-JCore: [ConnectingHelper] Login succeed - sid:43671, serverTime;1545459760000
01-01 10:56:24.903 16729-16830/? D/JIGUANG-JCore: [ConnectingHelper] Action - sendServerTimer
01-01 10:56:24.977 16729-16818/? D/JIGUANG-JCore: [JiguangTcpManager] Action - onLoggedIn - connection:1017
    [ConnectingHelper] Action - sendConnectionChanged
01-01 10:56:24.978 16729-16830/? D/JIGUANG-JCore: [NetworkingClient] Network listening...
01-01 10:56:25.019 16729-16818/? I/JIGUANG-JCore: [ReportHelper] periodTasks...
01-01 10:56:25.020 16729-16729/? D/JIGUANG-JCore: [PushReceiver] onReceive - cn.jpush.android.intent.ACTION_REPORT_HISTORY
01-01 10:56:25.040 16729-16818/? D/JIGUANG-JMessage: [AndroidUtil] try to send broadcast ,  process pid - 16729 process uid - 10012 process tid - 16818is in main thread = Thread[JCore,5,main] bundle = Bundle[{push_type=push_login}]
01-01 10:56:25.043 16700-16700/com.hongwan.mpu D/JIGUANG-JMessage: [IMReceiver] onReceive - cn.jpush.im.android.action.IM_RESPONSE
    [RequestingThread] Action - onLoggedIn
01-01 10:56:25.044 16700-16856/com.hongwan.mpu D/JIGUANG-JMessage: [RequestingThread] Action - sendCommandWithLoggedIn
    [RequestingThread] request is [Requesting] - timeout:50000, times:1, request:[Request] - [JHead] - len:0, version:1, command:100, rid:5434, sid:39563, juid:15287553311
    [RequestingThread] Request params - cmd:100
01-01 10:56:25.248 16729-16830/com.hongwan.mpu:pushcore I/JIGUANG-JMessage: [JMessageAction] [dispatchMessage] rid = 5434
01-01 10:56:25.248 16729-16830/com.hongwan.mpu:pushcore D/JIGUANG-JMessage: [AndroidUtil] try to send broadcast ,  process pid - 16729 process uid - 10012 process tid - 16830is in main thread = Thread[pool-11-thread-1,5,main] bundle = Bundle[{data_body=[B@122e992c, data_head=[B@148acff5, data_cmd=100}]
01-01 10:56:25.249 16729-16830/com.hongwan.mpu:pushcore D/JIGUANG-JCore: [NetworkingClient] Received bytes - len:132, connection:1017, pkg:com.hongwan.mpu
    [NetworkingClient] Network listening...
01-01 10:56:25.251 16700-16700/com.hongwan.mpu D/JIGUANG-JMessage: [IMReceiver] onReceive - cn.jpush.im.android.action.IM_RESPONSE
01-01 10:56:25.274 16700-16700/com.hongwan.mpu D/JIGUANG-JMessage: [ResponseProcessor] IMCMD:1
01-01 10:56:25.280 16700-16891/com.hongwan.mpu I/JIGUANG-JMessage: [RequestProcessor] start SyncCheck
01-01 10:56:27.292 16700-16856/com.hongwan.mpu D/JIGUANG-JMessage: [RequestingThread] Action - sendRequestInternal - connection:, timeout:60000, threadId:1011
    [RequestingThread] Action - sendCommandWithLoggedIn
    [RequestingThread] request is [Requesting] - timeout:50000, times:1, request:[Request] - [JHead] - len:0, version:1, command:100, rid:5438, sid:43671, juid:15287553311
    [RequestingThread] Request params - cmd:100
01-01 10:56:27.441 16729-16830/com.hongwan.mpu:pushcore I/JIGUANG-JMessage: [JMessageAction] [dispatchMessage] rid = 5438
01-01 10:56:27.441 16729-16830/com.hongwan.mpu:pushcore D/JIGUANG-JMessage: [AndroidUtil] try to send broadcast ,  process pid - 16729 process uid - 10012 process tid - 16830is in main thread = Thread[pool-11-thread-1,5,main] bundle = Bundle[{data_body=[B@16f5618a, data_head=[B@4eec3fb, data_cmd=100}]
01-01 10:56:27.453 16729-16830/com.hongwan.mpu:pushcore D/JIGUANG-JCore: [NetworkingClient] Received bytes - len:100, connection:1017, pkg:com.hongwan.mpu
01-01 10:56:27.454 16729-16830/com.hongwan.mpu:pushcore D/JIGUANG-JCore: [NetworkingClient] Network listening...
01-01 10:56:27.457 16700-16700/com.hongwan.mpu D/JIGUANG-JMessage: [IMReceiver] onReceive - cn.jpush.im.android.action.IM_RESPONSE
    [ResponseProcessor] IMCMD:39
01-01 10:56:27.540 16729-16830/com.hongwan.mpu:pushcore I/JIGUANG-JMessage: [JMessageAction] [dispatchMessage] rid = 1545459736982
01-01 10:56:27.540 16729-16830/com.hongwan.mpu:pushcore D/JIGUANG-JMessage: [AndroidUtil] try to send broadcast ,  process pid - 16729 process uid - 10012 process tid - 16830is in main thread = Thread[pool-11-thread-1,5,main] bundle = Bundle[{data_body=[B@28821c18, data_head=[B@36857671, data_cmd=100}]
01-01 10:56:27.547 16700-16700/com.hongwan.mpu D/JIGUANG-JMessage: [IMReceiver] onReceive - cn.jpush.im.android.action.IM_RESPONSE
01-01 10:56:27.548 16729-16830/com.hongwan.mpu:pushcore D/JIGUANG-JCore: [NetworkingClient] Received bytes - len:756, connection:1017, pkg:com.hongwan.mpu
    [NetworkingClient] Network listening...
01-01 10:56:27.555 16700-16700/com.hongwan.mpu D/JIGUANG-JMessage: [ResponseProcessor] IMCMD:40
    [SyncRespBaseHandler] sync resp received , uid = 201943963
01-01 10:56:27.555 16700-16700/com.hongwan.mpu I/JIGUANG-JMessage: [SyncRespBaseHandler] [PageReceived] receive page . page no = 1 page = cn.jpush.im.android.c.b.f$m@3e35cdd4
    [SyncRespBaseHandler] [PageReceived] cached page no[1]
01-01 10:56:27.555 16700-16700/com.hongwan.mpu D/JIGUANG-JMessage: [SyncRespBaseHandler] [PageReceived]start convLocalize conv pages. total page 1
01-01 10:56:48.299 16729-16830/com.hongwan.mpu:pushcore I/JIGUANG-JMessage: [JMessageAction] [dispatchMessage] rid = 2320073994
01-01 10:56:48.299 16729-16830/com.hongwan.mpu:pushcore D/JIGUANG-JMessage: [AndroidUtil] try to send broadcast ,  process pid - 16729 process uid - 10012 process tid - 16830is in main thread = Thread[pool-11-thread-1,5,main] bundle = Bundle[{data_body=[B@2d500c56, data_head=[B@f5ba4d7, data_cmd=100}]
01-01 10:56:48.306 16700-16700/com.hongwan.mpu D/JIGUANG-JMessage: [IMReceiver] onReceive - cn.jpush.im.android.action.IM_RESPONSE
01-01 10:56:48.309 16700-16856/com.hongwan.mpu D/JIGUANG-JMessage: [RequestingThread] Action - sendRequestInternal - connection:, timeout:0, threadId:1011
01-01 10:56:48.309 16700-16700/com.hongwan.mpu D/JIGUANG-JMessage: [ResponseProcessor] IMCMD:14
01-01 10:56:48.309 16700-16700/com.hongwan.mpu I/JIGUANG-JMessage: [ResponseProcessor]  messageID = 2320073994
01-01 10:56:48.309 16729-16830/com.hongwan.mpu:pushcore D/JIGUANG-JCore: [NetworkingClient] Received bytes - len:500, connection:1017, pkg:com.hongwan.mpu
    [NetworkingClient] Network listening...
01-01 10:56:48.309 16700-16856/com.hongwan.mpu D/JIGUANG-JMessage: [RequestingThread] Action - sendCommandWithLoggedIn
01-01 10:56:48.310 16700-16856/com.hongwan.mpu D/JIGUANG-JMessage: [RequestingThread] request is [Requesting] - timeout:-10000, times:1, request:[Request] - [JHead] - len:0, version:1, command:100, rid:2320073994, sid:43671, juid:15287553311
    [RequestingThread] Request params - cmd:100
01-01 10:57:07.430 16729-16830/com.hongwan.mpu:pushcore I/JIGUANG-JMessage: [JMessageAction] [dispatchMessage] rid = 2318156169
01-01 10:57:07.430 16729-16830/com.hongwan.mpu:pushcore D/JIGUANG-JMessage: [AndroidUtil] try to send broadcast ,  process pid - 16729 process uid - 10012 process tid - 16830is in main thread = Thread[pool-11-thread-1,5,main] bundle = Bundle[{data_body=[B@b88e1c4, data_head=[B@3faa08ad, data_cmd=100}]
01-01 10:57:07.432 16729-16830/com.hongwan.mpu:pushcore D/JIGUANG-JCore: [NetworkingClient] Received bytes - len:500, connection:1017, pkg:com.hongwan.mpu
    [NetworkingClient] Network listening...
01-01 10:57:07.433 16700-16700/com.hongwan.mpu D/JIGUANG-JMessage: [IMReceiver] onReceive - cn.jpush.im.android.action.IM_RESPONSE
01-01 10:57:07.434 16700-16856/com.hongwan.mpu D/JIGUANG-JMessage: [RequestingThread] Action - sendRequestInternal - connection:, timeout:0, threadId:1011
01-01 10:57:07.434 16700-16700/com.hongwan.mpu D/JIGUANG-JMessage: [ResponseProcessor] IMCMD:14
01-01 10:57:07.434 16700-16700/com.hongwan.mpu I/JIGUANG-JMessage: [ResponseProcessor]  messageID = 2318156169
01-01 10:57:07.435 16700-16856/com.hongwan.mpu D/JIGUANG-JMessage: [RequestingThread] Action - sendCommandWithLoggedIn
    [RequestingThread] request is [Requesting] - timeout:-10000, times:1, request:[Request] - [JHead] - len:0, version:1, command:100, rid:2318156169, sid:43671, juid:15287553311
    [RequestingThread] Request params - cmd:100

1个回答

热门排序
  • 1、SDK 版本多少,参考使用下 demo

    2、描述你的操作步骤,你们设置的是什么线程,接收方法的代码。

    3、发送消息的人消息是否有发送成功

    4、提供完整的从初始化开始的日志信息