Android模拟器可以接收到通知消息但无法显示

用户8783794
2021-03-10 12:45 217 1
03-10 20:28:10.432 17680-17680/? D/JIGUANG-JPush: [JPushInterface] action:init - sdkVersion:4.0.0, buildId:105
03-10 20:28:10.452 17680-17680/? D/JIGUANG-JPush: [AndroidUtil] action:checkValidManifest
03-10 20:28:10.456 17680-17680/? E/JIGUANG-JPush: [AndroidUtil] AndroidManifest.xml missing required activity: cn.jpush.android.service.JNotifyActivity
03-10 20:28:10.507 17680-17708/? D/JIGUANG-JCore: [JCoreHelper] runActionWithService action:get_rid
03-10 20:28:10.509 17680-17720/? D/JIGUANG-JCore: [CheckManifestHelper] manifest:channel - developer-default
03-10 20:28:10.520 17680-17720/? D/JIGUANG-JCommon: [JCommonInterface] onEvent action:service_create
03-10 20:28:10.671 17680-17700/? D/JIGUANG-JCore: [HttpHelper] status code:200 retry left:2
03-10 20:28:10.742 17680-17720/? D/JIGUANG-JCommon: [JCommonInterface] onEvent action:set_sdktype_info
03-10 20:28:10.759 17680-17720/? D/JIGUANG-JCore: [InitHelper] We found the appKey is changed or register appkey is empty. Will re-register.
03-10 20:28:10.768 17680-17720/? D/JIGUANG-JPush: [ActionHelper] doAction:get_rid
03-10 20:28:10.769 17680-17734/? D/JIGUANG-JCore: [JCoreTCPManager] Action - restartNetworkingClient, pid:17680
03-10 20:28:10.774 17680-17739/? I/JIGUANG-JCore: [NetworkingClient] Begin to run in ConnectingThread - id:394
03-10 20:28:10.781 17680-17737/? D/JIGUANG-JPush: [AndroidUtil] action:checkValidManifest
03-10 20:28:10.782 17680-17739/? D/JIGUANG-JCommon: [JCommonInterface] onEvent action:get_imei
03-10 20:28:10.787 17680-17737/? E/JIGUANG-JPush: [AndroidUtil] AndroidManifest.xml missing required activity: cn.jpush.android.service.JNotifyActivity
03-10 20:28:10.826 17680-17746/? D/JIGUANG-JCommon: [JCommonInterface] onEvent action:get_loc_info
03-10 20:28:10.833 17680-17746/? D/JIGUANG-JCore: [ConnectingHelper] udp Receiving...
03-10 20:28:11.376 17680-17680/com.pushtest D/JIGUANG-JCore: [JCoreHelper] runActionWithService action:notification_state
03-10 20:28:11.386 17680-17720/com.pushtest D/JIGUANG-JCommon: [JCommonInterface] onEvent action:notification_state
03-10 20:28:11.386 17680-17734/com.pushtest D/JIGUANG-JCore: [JCoreTCPManager] Send heart beat

                                                             [ 03-10 20:28:11.399 17680:17680 D/         ]
                                                             static HostConnection *HostConnection::createUnique(): call


                                                             [ 03-10 20:28:11.399 17680:17680 D/         ]
                                                             HostConnection::get() New Host Connection established 0x9984db70, tid 17680
03-10 20:28:12.815 17680-17790/com.pushtest D/JIGUANG-JCore: [ConnectingHelper] udp Receiving...
03-10 20:28:13.211 17680-17800/com.pushtest D/JIGUANG-JCore: [ConnTask] Open connection with ip=/175.25.50.209, port:7000
03-10 20:28:13.259 17680-17800/com.pushtest I/JIGUANG-JCore: [ConnTask] Succeed to open connection - ip:/175.25.50.209, port:7000
03-10 20:28:13.266 17680-17700/com.pushtest D/JIGUANG-JCommon: [JCommonInterface] onEvent action:device_id_map
03-10 20:28:13.268 17680-17739/com.pushtest D/JIGUANG-JCommon: [JCommonInterface] onEvent action:get_all_ids
03-10 20:28:14.129 17680-17739/com.pushtest I/JIGUANG-JCore: [ConnectingHelper] Register succeed - juid:49441726636, registrationId:1507bfd3f76d525cb9d, deviceId:null
03-10 20:28:14.132 17680-17734/com.pushtest D/JIGUANG-JCore: [JCoreTCPManager] resgiter success:1507bfd3f76d525cb9d
03-10 20:28:14.132 17680-17734/com.pushtest D/JIGUANG-JPush: [ActionHelper] doAction:jcore_on_event
03-10 20:28:14.134 17680-17680/com.pushtest D/JIGUANG-Example: [MyReceiver] onReceive - cn.jpush.android.intent.REGISTRATION, extras: 
                                                               key:cn.jpush.android.REGISTRATION_ID, value:1507bfd3f76d525cb9d
03-10 20:28:14.134 17680-17680/com.pushtest D/JIGUANG-Example: [MyReceiver] 接收Registration Id : 1507bfd3f76d525cb9d
03-10 20:28:14.134 17680-17734/com.pushtest D/JIGUANG-JCommon: [JCommonInterface] onEvent action:on_register
03-10 20:28:14.143 17680-17739/com.pushtest W/JIGUANG-JPush: [AsusPushHelper] AndroidManifest.xml missing receiver extends asus's AsusPushMessageReceiver
03-10 20:28:14.155 17680-17739/com.pushtest I/JIGUANG-JCore: [ConnectingHelper] Login with - juid:49441726636, appKey:87b460fe9fff33ff2c7732e6, sdkVersion:132864|262144, pluginPlatformType:0
03-10 20:28:14.158 17680-17739/com.pushtest D/JIGUANG-JCommon: [JCommonInterface] onEvent action:get_loc_info
03-10 20:28:14.202 17680-17739/com.pushtest I/JIGUANG-JCore: [ConnectingHelper] Login succeed - sid:11821, serverTime;1615379294000
03-10 20:28:14.203 17680-17739/com.pushtest D/JIGUANG-JCore: [NetworkingClient] Network listening...
03-10 20:28:14.203 17680-17734/com.pushtest D/JIGUANG-JCore: [JCoreTCPManager] Action - onLoggedIn
03-10 20:28:14.203 17680-17734/com.pushtest D/JIGUANG-JPush: [ActionHelper] doAction:jcore_on_event
03-10 20:28:14.205 17680-17734/com.pushtest D/JIGUANG-JCommon: [JCommonInterface] onEvent action:periodtask
03-10 20:28:14.206 17680-17680/com.pushtest D/JIGUANG-Example: [MyReceiver] onReceive - cn.jpush.android.intent.CONNECTION, extras: 
                                                               key:cn.jpush.android.CONNECTION_CHANGE, value:true
03-10 20:28:14.206 17680-17680/com.pushtest W/JIGUANG-Example: [MyReceiver]cn.jpush.android.intent.CONNECTION connected state change to true

发送通知后,Android Studio logcat可以接收到JIGUANG-JCore的信息
D/JIGUANG-JCore: [NetworkingClient] Received bytes - len:292, pkg:com.pushtest
但是模拟器和手机都不会弹出通知框

1个回答

热门排序
gptbots-widget