安卓9自定义消息推送收不到

E/JIGUANG-JPush: [MessageHelper] sendBroadcastToApp error:Permission Denial: not allowed to send broadcast cn.jpush.android.intent.MESSAGE_RECEIVED from pid=25314, uid=10129

implementation 'cn.jiguang.sdk:jpush:3.3.4'
implementation 'cn.jiguang.sdk:jcore:2.1.2'

通知能正常收到,

你的手机机型和系统详细提供一下

并从初始化开始提供一下全量的 log

我会提交分析

设备是红米note7,
系统是魔趣的安卓9.0,

2019-07-30 13:11:57.463 6916-6953/cc.aoeiuv020.panovel I/JIGUANG-JCore: [JCoreGobal] action:init jcore,version:2.1.2,build id:40
2019-07-30 13:11:57.485 6916-6916/cc.aoeiuv020.panovel D/JIGUANG-JCore: [JCoreHelper] runActionWithService action:tagalis
2019-07-30 13:11:57.486 6916-6953/cc.aoeiuv020.panovel I/JIGUANG-JCore: [JCommonServiceHelper] found userServiceClass :cc.aoeiuv020.panovel.server.jpush.JPushService by getCommonServiceNames
2019-07-30 13:11:57.489 6916-6916/cc.aoeiuv020.panovel D/JIGUANG-JPush: [JPushInterface] action:init - sdkVersion:3.3.4, buildId:36
2019-07-30 13:11:57.489 6916-6916/cc.aoeiuv020.panovel D/JIGUANG-JPush: [AndroidUtil] action:checkValidManifest
2019-07-30 13:11:57.496 6916-6916/cc.aoeiuv020.panovel I/JIGUANG-JPush: [JPushGobal] found messageReceiverClass :cc.aoeiuv020.panovel.server.jpush.MyJPushMessageReceiver by getCommonReceiverNames
2019-07-30 13:11:57.497 6916-6916/cc.aoeiuv020.panovel D/JIGUANG-JPush: [JPushGobal] same process with JCommonService
2019-07-30 13:11:57.500 6916-6959/cc.aoeiuv020.panovel D/JIGUANG-JCore: [CheckManifestHelper] manifest:channel - jpush_channel
2019-07-30 13:11:57.501 6916-6916/cc.aoeiuv020.panovel D/JIGUANG-JCore: [JCoreHelper] runActionWithService action:init
2019-07-30 13:11:57.507 6916-6959/cc.aoeiuv020.panovel D/JIGUANG-JCore-IMPL: [JCommonInterface] onEvent action:service_create
2019-07-30 13:11:57.511 6916-6964/cc.aoeiuv020.panovel D/JIGUANG-JCore-IMPL: [JCommonInterface] onEvent action:set_sdktype_info
2019-07-30 13:11:57.527 6916-6964/cc.aoeiuv020.panovel D/JIGUANG-JPush: [ActionHelper] doAction:tagalis
2019-07-30 13:11:57.528 6916-6964/cc.aoeiuv020.panovel D/JIGUANG-JPush: [ActionHelper] doAction:init
2019-07-30 13:11:57.530 6916-6968/cc.aoeiuv020.panovel D/JIGUANG-JCore-IMPL: [JCoreTCPManager] Action - restartNetworkingClient, pid:6916
2019-07-30 13:11:57.530 6916-6969/cc.aoeiuv020.panovel D/JIGUANG-JPush: [AndroidUtil] action:checkValidManifest
2019-07-30 13:11:57.533 6916-6970/cc.aoeiuv020.panovel I/JIGUANG-JCore-IMPL: [NetworkingClient] Begin to run in ConnectingThread - id:672
2019-07-30 13:11:57.535 6916-6969/cc.aoeiuv020.panovel D/JIGUANG-JPush: [GeofenceAction] Recover geofence size:0
2019-07-30 13:11:57.535 6916-6970/cc.aoeiuv020.panovel D/JIGUANG-JCore-IMPL: [JCommonInterface] onEvent action:get_imei
2019-07-30 13:11:57.536 6916-6969/cc.aoeiuv020.panovel D/JIGUANG-JPush: [CustomGeofenAction] start listen geofence
2019-07-30 13:11:57.537 6916-6969/cc.aoeiuv020.panovel D/JIGUANG-JPush: [CustomGeofenAction] No geofence,not need listen
2019-07-30 13:11:57.540 6916-6969/cc.aoeiuv020.panovel D/JIGUANG-JPush: [TagAliasHelper] tagalias:{"platform":"a","op":"set","alias":"debug"}
2019-07-30 13:11:57.608 6916-6978/cc.aoeiuv020.panovel D/JIGUANG-JCore-IMPL: [ConnTask] Open connection with ip=/175.25.50.214, port:7007
2019-07-30 13:11:57.614 6916-6981/cc.aoeiuv020.panovel D/JIGUANG-JCore-IMPL: [JCommonInterface] onEvent action:get_loc_info
2019-07-30 13:11:57.618 6916-6981/cc.aoeiuv020.panovel D/JIGUANG-JCore-IMPL: [ConnectingHelper] udp Receiving...
2019-07-30 13:11:57.667 6916-6978/cc.aoeiuv020.panovel I/JIGUANG-JCore-IMPL: [ConnTask] Succeed to open connection - ip:/175.25.50.214, port:7007
2019-07-30 13:11:57.699 6916-6916/cc.aoeiuv020.panovel D/JIGUANG-JCore: [JCoreHelper] runActionWithService action:notification_state
2019-07-30 13:11:57.700 6916-6970/cc.aoeiuv020.panovel I/JIGUANG-JCore-IMPL: [ConnectingHelper] Login with - juid:25662023222, appKey:c4d000bcea91fa33a514f72b, sdkVersion:131330|197380, pluginPlatformType:0
2019-07-30 13:11:57.700 6916-6916/cc.aoeiuv020.panovel D/JIGUANG-JCore: [JCoreHelper] runActionWithService action:change_foreground
2019-07-30 13:11:57.702 6916-6968/cc.aoeiuv020.panovel D/JIGUANG-JCore-IMPL: [JCoreTCPManager] Send heart beat
2019-07-30 13:11:57.702 6916-6970/cc.aoeiuv020.panovel D/JIGUANG-JCore-IMPL: [JCommonInterface] onEvent action:get_loc_info
2019-07-30 13:11:57.703 6916-6964/cc.aoeiuv020.panovel D/JIGUANG-JCore-IMPL: [JCommonInterface] onEvent action:notification_state
2019-07-30 13:11:57.707 6916-6964/cc.aoeiuv020.panovel D/JIGUANG-JPush: [ActionHelper] doAction:change_foreground
2019-07-30 13:11:57.735 6916-6916/cc.aoeiuv020.panovel D/JIGUANG-JCore-IMPL: [JCommonInterface] onEvent action:get_receiver
2019-07-30 13:11:57.772 6916-6970/cc.aoeiuv020.panovel I/JIGUANG-JCore-IMPL: [ConnectingHelper] Login succeed - sid:41080, serverTime;1564463518000
2019-07-30 13:11:57.773 6916-6970/cc.aoeiuv020.panovel D/JIGUANG-JCore-IMPL: [NetworkingClient] Network listening...
2019-07-30 13:11:57.773 6916-6968/cc.aoeiuv020.panovel D/JIGUANG-JCore-IMPL: [JCoreTCPManager] Action - onLoggedIn
2019-07-30 13:11:57.774 6916-6968/cc.aoeiuv020.panovel I/JIGUANG-JPush: [ThirdPushManager] uploadRegIdAfterLogin
2019-07-30 13:11:57.778 6916-6968/cc.aoeiuv020.panovel D/JIGUANG-JCore-IMPL: [JCommonInterface] onEvent action:periodtask
2019-07-30 13:11:57.788 6916-6968/cc.aoeiuv020.panovel D/JIGUANG-JCore-IMPL: [JCommonInterface] onEvent action:getwakeenable
2019-07-30 13:11:57.793 6916-7002/cc.aoeiuv020.panovel D/JIGUANG-JCore-IMPL: [JCommonInterface] onEvent action:filter_pkg_list
2019-07-30 13:11:57.865 6916-6970/cc.aoeiuv020.panovel D/JIGUANG-JCore-IMPL: [NetworkingClient] Received bytes - len:36, pkg:cc.aoeiuv020.panovel
2019-07-30 13:11:57.867 6916-6970/cc.aoeiuv020.panovel D/JIGUANG-JCore-IMPL: [NetworkingClient] Network listening...
2019-07-30 13:11:57.919 6916-6916/cc.aoeiuv020.panovel D/JIGUANG-Example: [MyReceiver] onReceive - cn.jpush.android.intent.CONNECTION, extras: 
    key:cn.jpush.android.CONNECTION_CHANGE, value:true
2019-07-30 13:11:57.919 6916-6916/cc.aoeiuv020.panovel W/JIGUANG-Example: [MyReceiver]cn.jpush.android.intent.CONNECTION connected state change to true

日志贴在楼下了,

你这个日志里面并没有包含你上面一开始提供的报错,请提供初始化到发消息的所有的日志

再就是给一下你推送的自定义消息的 MessageID 值

完整日志,
Message ID 38280615271836010

2019-08-02 14:29:30.855 26466-26498/? I/JIGUANG-JCore: [JCoreGobal] action:init jcore,version:2.1.2,build id:40
2019-08-02 14:29:30.865 26466-26466/? D/JIGUANG-JCore: [JCoreHelper] runActionWithService action:tagalis
2019-08-02 14:29:30.883 26466-26466/? D/JIGUANG-JPush: [JPushInterface] action:init - sdkVersion:3.3.4, buildId:36
2019-08-02 14:29:30.883 26466-26498/? I/JIGUANG-JCore: [JCommonServiceHelper] found userServiceClass :cc.aoeiuv020.panovel.server.jpush.JPushService by getCommonServiceNames
2019-08-02 14:29:30.884 26466-26466/? D/JIGUANG-JPush: [AndroidUtil] action:checkValidManifest
2019-08-02 14:29:30.891 26466-26466/? I/JIGUANG-JPush: [JPushGobal] found messageReceiverClass :cc.aoeiuv020.panovel.server.jpush.MyJPushMessageReceiver by getCommonReceiverNames
2019-08-02 14:29:30.892 26466-26466/? D/JIGUANG-JPush: [JPushGobal] same process with JCommonService
2019-08-02 14:29:30.897 26466-26466/? D/JIGUANG-JCore: [JCoreHelper] runActionWithService action:init
2019-08-02 14:29:30.898 26466-26505/? D/JIGUANG-JCore: [CheckManifestHelper] manifest:channel - jpush_channel
2019-08-02 14:29:30.905 26466-26505/? D/JIGUANG-JCore-IMPL: [JCommonInterface] onEvent action:service_create
2019-08-02 14:29:30.914 26466-26509/? D/JIGUANG-JCore-IMPL: [JCommonInterface] onEvent action:set_sdktype_info
2019-08-02 14:29:30.924 26466-26509/? D/JIGUANG-JPush: [ActionHelper] doAction:tagalis
2019-08-02 14:29:30.925 26466-26509/? D/JIGUANG-JPush: [ActionHelper] doAction:init
2019-08-02 14:29:30.926 26466-26514/? D/JIGUANG-JPush: [AndroidUtil] action:checkValidManifest
2019-08-02 14:29:30.926 26466-26513/? D/JIGUANG-JCore-IMPL: [JCoreTCPManager] Action - restartNetworkingClient, pid:26466
2019-08-02 14:29:30.930 26466-26515/? I/JIGUANG-JCore-IMPL: [NetworkingClient] Begin to run in ConnectingThread - id:6308
2019-08-02 14:29:30.932 26466-26514/? D/JIGUANG-JPush: [GeofenceAction] Recover geofence size:0
2019-08-02 14:29:30.933 26466-26514/? D/JIGUANG-JPush: [CustomGeofenAction] start listen geofence
2019-08-02 14:29:30.934 26466-26514/? D/JIGUANG-JPush: [CustomGeofenAction] No geofence,not need listen
2019-08-02 14:29:30.939 26466-26514/? D/JIGUANG-JPush: [TagAliasHelper] tagalias:{"platform":"a","op":"set","alias":"debug"}
2019-08-02 14:29:30.939 26466-26515/? D/JIGUANG-JCore-IMPL: [JCommonInterface] onEvent action:get_imei
2019-08-02 14:29:31.017 26466-26523/? D/JIGUANG-JCore-IMPL: [ConnTask] Open connection with ip=/175.25.50.75, port:7005
2019-08-02 14:29:31.028 26466-26526/? D/JIGUANG-JCore-IMPL: [JCommonInterface] onEvent action:get_loc_info
2019-08-02 14:29:31.033 26466-26526/? D/JIGUANG-JCore-IMPL: [ConnectingHelper] udp Receiving...
2019-08-02 14:29:31.080 26466-26523/? I/JIGUANG-JCore-IMPL: [ConnTask] Succeed to open connection - ip:/175.25.50.75, port:7005
2019-08-02 14:29:31.095 26466-26466/? D/JIGUANG-JCore: [JCoreHelper] runActionWithService action:notification_state
2019-08-02 14:29:31.095 26466-26466/? D/JIGUANG-JCore: [JCoreHelper] runActionWithService action:change_foreground
2019-08-02 14:29:31.097 26466-26513/? D/JIGUANG-JCore-IMPL: [JCoreTCPManager] Send heart beat
2019-08-02 14:29:31.098 26466-26509/? D/JIGUANG-JCore-IMPL: [JCommonInterface] onEvent action:notification_state
2019-08-02 14:29:31.099 26466-26509/? D/JIGUANG-JPush: [ActionHelper] doAction:change_foreground
2019-08-02 14:29:31.102 26466-26515/? I/JIGUANG-JCore-IMPL: [ConnectingHelper] Login with - juid:25662023222, appKey:c4d000bcea91fa33a514f72b, sdkVersion:131330|197380, pluginPlatformType:0
2019-08-02 14:29:31.104 26466-26515/? D/JIGUANG-JCore-IMPL: [JCommonInterface] onEvent action:get_loc_info
2019-08-02 14:29:31.133 26466-26466/? D/JIGUANG-JCore-IMPL: [JCommonInterface] onEvent action:get_receiver
2019-08-02 14:29:31.172 26466-26515/? I/JIGUANG-JCore-IMPL: [ConnectingHelper] Login succeed - sid:41904, serverTime;1564727371000
2019-08-02 14:29:31.172 26466-26515/? D/JIGUANG-JCore-IMPL: [NetworkingClient] Network listening...
2019-08-02 14:29:31.172 26466-26513/? D/JIGUANG-JCore-IMPL: [JCoreTCPManager] Action - onLoggedIn
2019-08-02 14:29:31.173 26466-26513/? I/JIGUANG-JPush: [ThirdPushManager] uploadRegIdAfterLogin
2019-08-02 14:29:31.178 26466-26513/? D/JIGUANG-JCore-IMPL: [JCommonInterface] onEvent action:periodtask
2019-08-02 14:29:31.199 26466-26513/? D/JIGUANG-JCore-IMPL: [JCommonInterface] onEvent action:getwakeenable
2019-08-02 14:29:31.205 26466-26548/? D/JIGUANG-JCore-IMPL: [JCommonInterface] onEvent action:filter_pkg_list
2019-08-02 14:29:31.285 26466-26515/? D/JIGUANG-JCore-IMPL: [NetworkingClient] Received bytes - len:36, pkg:cc.aoeiuv020.panovel
2019-08-02 14:29:31.285 26466-26515/? D/JIGUANG-JCore-IMPL: [NetworkingClient] Network listening...
2019-08-02 14:29:31.400 26466-26466/? D/JIGUANG-Example: [MyReceiver] onReceive - cn.jpush.android.intent.CONNECTION, extras: 
    key:cn.jpush.android.CONNECTION_CHANGE, value:true
2019-08-02 14:29:31.400 26466-26466/? W/JIGUANG-Example: [MyReceiver]cn.jpush.android.intent.CONNECTION connected state change to true
2019-08-02 14:29:38.879 26466-26515/cc.aoeiuv020.panovel D/JIGUANG-JCore-IMPL: [NetworkingClient] Received bytes - len:148, pkg:cc.aoeiuv020.panovel
2019-08-02 14:29:38.882 26466-26515/cc.aoeiuv020.panovel D/JIGUANG-JCore-IMPL: [NetworkingClient] Network listening...
2019-08-02 14:29:38.890 26466-26552/cc.aoeiuv020.panovel D/JIGUANG-JPush: [ActionHelper] doAction:msg
2019-08-02 14:29:38.894 26466-26514/cc.aoeiuv020.panovel D/JIGUANG-JPush: [JPushActionImpl] action:handleMsg:JPushResponse{cmd=3, rid=0, rquestId=-1}
2019-08-02 14:29:39.006 26466-26514/cc.aoeiuv020.panovel D/JIGUANG-JPush: [JMessageReceiverHelper] not found user push message,use old action to user
2019-08-02 14:29:39.011 26466-26514/cc.aoeiuv020.panovel E/JIGUANG-JPush: [MessageHelper] sendBroadcastToApp error:Permission Denial: not allowed to send broadcast cn.jpush.android.intent.MESSAGE_RECEIVED from pid=26466, uid=10129
2019-08-02 14:29:40.403 26466-26466/cc.aoeiuv020.panovel D/JIGUANG-JCore-IMPL: [JCommonInterface] onEvent action:get_receiver
2019-08-02 14:29:40.654 26466-26466/cc.aoeiuv020.panovel D/JIGUANG-JCore-IMPL: [JCommonInterface] onEvent action:get_receiver
2019-08-02 14:29:42.829 26466-26466/cc.aoeiuv020.panovel D/JIGUANG-JCore: [JCoreHelper] runActionWithService action:change_foreground
2019-08-02 14:29:42.834 26466-26509/cc.aoeiuv020.panovel D/JIGUANG-JPush: [ActionHelper] doAction:change_foreground

消息是已经推送成功的

请先检查下你自定义消息的回调和Androidmanifest 里面的配置
https://docs.jiguang.cn/jpush/client/Android/android_api/#_66

如果都配置了,将代码提供一下

再就是你是否仅在这个设备上异常?用极光的 demo 在这个手机上是否也异常(如果也异常,我们好复现)

demo是一样复现的,
手机是只有这一台复现,
但这也是我仅有的安卓9手机,

请使用 以下debug包替换你工程里面的包,重新复现该问题后提供完整的log(放在TXT文件里面)
我们来分析下
预期是系统兼容问题
jpush-android-3.3.4-debug-b336.zip (467.9 KB) jcore-android-2.1.2-debug-b40.zip (403.0 KB)

换了debug包,但这日志好像,并没有变多,

jpush.txt (9.1 KB)

image

用 debug 包替换得手动集成,你自己的项目的自动集成的,如果不好更换,用 demo 更换也可以,然后复现这个问题,日志不应该只有这么一些,会有更多的信息打印。