安卓收不到推送信息


(罗先生) #1

1,最新版本 jpush-android-3.1.0.jar jcore-android-1.1.8.jar

2,安卓小米MAX2手机,下载安装的Demo,运行后,客户端日志没有看到 Login succeed

发送编号:1515307580
Message ID:1699786952
RegId:140fe1da9e97f35fa43

3,具体日志如下:

01-07 15:09:53.370 9631-9631/? I/art: Late-enabling -Xcheck:jni
01-07 15:09:53.402 9631-9631/? V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@6ae56bd
01-07 15:09:53.489 9631-9631/cn.sjyym.mahjong I/InstantRun: starting instant run server: is main process
01-07 15:09:53.497 9631-9631/cn.sjyym.mahjong D/JIGUANG-Example: [ExampleApplication] onCreate
01-07 15:09:53.525 9631-9631/cn.sjyym.mahjong D/JIGUANG-JPush: [JPushInterface] action:init - sdkVersion:3.1.0, buildId:391
01-07 15:09:53.547 9631-9631/cn.sjyym.mahjong D/JIGUANG-JCore: [JCoreGlobal] metadata: appKey - 1e063a96d1d1a28a41c337db
01-07 15:09:53.548 9631-9631/cn.sjyym.mahjong D/JIGUANG-JCore: [JCoreGlobal] metadata: channel - developer-default
01-07 15:09:53.550 9631-9631/cn.sjyym.mahjong D/JIGUANG-JCore: [AndroidUtil] action:checkValidManifest
01-07 15:09:53.558 9631-9631/cn.sjyym.mahjong D/JIGUANG-JCore: [JCoreServiceUtils] set Push/Alarm Receiver enabled
01-07 15:09:53.574 9631-9631/cn.sjyym.mahjong D/JIGUANG-JCore: [JCoreGlobal] action:init - sdkVersion:1.1.8, buildId:163
01-07 15:09:53.636 9631-9631/cn.sjyym.mahjong D/JIGUANG-JPush: [AndroidUtil] action:checkValidManifest
01-07 15:09:53.662 9631-9631/cn.sjyym.mahjong I/JIGUANG-JPush: [PluginPlatformsInterface] whichPlatform - 0
01-07 15:09:53.663 9631-9631/cn.sjyym.mahjong I/JIGUANG-JPush: [PluginPlatformsInterface] isIntegrateFCM -false
01-07 15:09:53.694 9631-9686/cn.sjyym.mahjong D/ApplicationLoaders: ignored Vulkan layer search path /system/app/MiuiContentCatcher/lib/arm64:/system/lib64:/vendor/lib64 for namespace 0x7fa4a91160
01-07 15:09:53.700 9631-9631/cn.sjyym.mahjong D/AccessibilityManager: current package=cn.sjyym.mahjong, accessibility manager mIsFinalEnabled=false, mOptimizeEnabled=true, mIsUiAutomationEnabled=false, mIsInterestedPackage=false
01-07 15:09:53.707 9631-9631/cn.sjyym.mahjong V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@4757444
01-07 15:09:53.707 9631-9631/cn.sjyym.mahjong V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@7692d
01-07 15:09:53.791 9631-9631/cn.sjyym.mahjong V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@d780fc9
01-07 15:09:53.804 9631-9631/cn.sjyym.mahjong D/ActivityThreadInjector: clearCachedDrawables.
01-07 15:09:53.847 9631-9694/cn.sjyym.mahjong I/Adreno: QUALCOMM build                   : a9083cf, Iaf618d42e3
                                                        Build Date                       : 03/14/17
                                                        OpenGL ES Shader Compiler Version: XE031.09.00.04
                                                        Local Branch                     : 
                                                        Remote Branch                    : 
                                                        Remote Branch                    : 
                                                        Reconstruct Branch               : 
01-07 15:09:53.853 9631-9694/cn.sjyym.mahjong I/OpenGLRenderer: Initialized EGL, version 1.4
01-07 15:09:53.854 9631-9694/cn.sjyym.mahjong D/OpenGLRenderer: Swap behavior 1
01-07 15:09:54.009 9631-9696/cn.sjyym.mahjong D/NetworkSecurityConfig: No Network Security Config specified, using platform default
01-07 15:09:54.237 9631-9696/cn.sjyym.mahjong D/JIGUANG-JCore: [HttpHelper] status code:200
01-07 15:09:55.525 9631-9631/cn.sjyym.mahjong V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@4d62be2
01-07 15:09:55.627 9631-9631/cn.sjyym.mahjong D/JIGUANG-Example: [MyReceiver] onReceive - cn.jpush.android.intent.CONNECTION, extras: 
                                                                 key:cn.jpush.android.APPKEY, value:1e063a96d1d1a28a41c337db
                                                                 key:cn.jpush.android.CONNECTION_CHANGE, value:true
01-07 15:09:55.628 9631-9631/cn.sjyym.mahjong W/JIGUANG-Example: [MyReceiver]cn.jpush.android.intent.CONNECTION connected state change to true

(罗先生) #2

我已经成功集成了小米、华为、苹果,其他手机打算用极光,请指教。


(罗先生) #3

另外一个进程 cn.sjyym.mahjong:mult 里看到了成功登录日志
01-07 15:19:49.108 16203-22641/cn.sjyym.mahjong:mult I/JIGUANG-JCore: [ConnectingHelper] Login succeed - sid:33125, serverTime;1515309583000

但是所有的手机还是收不到推送。包括乐视手机,VIVO手机,网站后台也能看到新加入了手机。


#4

你当前这个应用不在线,请检查你是否调用了stoppush,请使用resumepush尝试恢复一下。


(罗先生) #5

感谢您的回答,我发现用IDEA调试时出现如下问题:

$ adb shell am startservice cn.sjyym.mahjong/com.android.tools.fd.runtime.InstantRunService
Error while executing: am startservice cn.sjyym.mahjong/com.android.tools.fd.runtime.InstantRunService
Starting service: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=cn.sjyym.mahjong/com.android.tools.fd.runtime.InstantRunService }
Error: Not found; no service started.

但是apk在手机上安装运行未发现异常。
需要提交源代码给你吗?就极光后台创建app之后的demo


#6

这个问题从报错看就知道与极光 SDK 无关,请你自行搜索解决。譬如


(罗先生) #7

按上面处理后,日志正常了,但是推送还是收不到

01/08 17:16:05: Launching JPushExample(810583)
$ adb push D:\git\JPushExample(810583)\build\outputs\apk\JPushExample(810583)-debug.apk /data/local/tmp/cn.sjyym.mahjong
$ adb shell pm install -r "/data/local/tmp/cn.sjyym.mahjong"
Success


$ adb shell am start -n "cn.sjyym.mahjong/com.example.jpushdemo.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Client not ready yet..Waiting for process to come online
Waiting for process to come online
Waiting for process to come online
Connected to process 14327 on device xiaomi-mi_note_pro-7927b683

#8

提供极光相关的日志信息

去参考这里的说明去检查,切换下网络,换 4 G


(罗先生) #9

换移动4G还是没收到推送,因为有两个进程,所以发两份日志文件如下。

01-08 18:57:08.428 6853-6853/? I/art: Late-enabling -Xcheck:jni
01-08 18:57:08.464 6853-6853/? V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@6ae56bd
01-08 18:57:08.520 6853-6853/cn.sjyym.mahjong D/JIGUANG-Example: [ExampleApplication] onCreate
01-08 18:57:08.536 6853-6853/cn.sjyym.mahjong D/JIGUANG-JPush: [JPushInterface] action:init - sdkVersion:3.1.0, buildId:391
01-08 18:57:08.542 6853-6853/cn.sjyym.mahjong D/JIGUANG-JCore: [JCoreGlobal] metadata: appKey - 1e063a96d1d1a28a41c337db
01-08 18:57:08.543 6853-6853/cn.sjyym.mahjong D/JIGUANG-JCore: [JCoreGlobal] metadata: channel - developer-default
01-08 18:57:08.544 6853-6853/cn.sjyym.mahjong D/JIGUANG-JCore: [AndroidUtil] action:checkValidManifest
01-08 18:57:08.549 6853-6853/cn.sjyym.mahjong D/JIGUANG-JCore: [JCoreServiceUtils] set Push/Alarm Receiver enabled
01-08 18:57:08.561 6853-6853/cn.sjyym.mahjong D/JIGUANG-JCore: [JCoreGlobal] action:init - sdkVersion:1.1.8, buildId:163
01-08 18:57:08.620 6853-6853/cn.sjyym.mahjong D/JIGUANG-JPush: [AndroidUtil] action:checkValidManifest
01-08 18:57:08.637 6853-6853/cn.sjyym.mahjong I/JIGUANG-JPush: [PluginPlatformsInterface] whichPlatform - 0
01-08 18:57:08.638 6853-6853/cn.sjyym.mahjong I/JIGUANG-JPush: [PluginPlatformsInterface] isIntegrateFCM -false
01-08 18:57:08.658 6853-6904/cn.sjyym.mahjong W/System: ClassLoader referenced unknown path: /system/app/MiuiContentCatcher/lib/arm64
01-08 18:57:08.660 6853-6904/cn.sjyym.mahjong D/ApplicationLoaders: ignored Vulkan layer search path /system/app/MiuiContentCatcher/lib/arm64:/system/lib64:/vendor/lib64 for namespace 0x7fa4a91160
01-08 18:57:08.667 6853-6853/cn.sjyym.mahjong D/AccessibilityManager: current package=cn.sjyym.mahjong, accessibility manager mIsFinalEnabled=false, mOptimizeEnabled=true, mIsUiAutomationEnabled=false, mIsInterestedPackage=false
01-08 18:57:08.675 6853-6853/cn.sjyym.mahjong V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@dacf157
01-08 18:57:08.675 6853-6853/cn.sjyym.mahjong V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@4757444
01-08 18:57:08.754 6853-6853/cn.sjyym.mahjong V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@99463d0
01-08 18:57:08.766 6853-6853/cn.sjyym.mahjong D/ActivityThreadInjector: clearCachedDrawables.
01-08 18:57:08.802 6853-6914/cn.sjyym.mahjong I/Adreno: QUALCOMM build                   : a9083cf, Iaf618d42e3
                                                        Build Date                       : 03/14/17
                                                        OpenGL ES Shader Compiler Version: XE031.09.00.04
                                                        Local Branch                     : 
                                                        Remote Branch                    : 
                                                        Remote Branch                    : 
                                                        Reconstruct Branch               : 
01-08 18:57:08.810 6853-6914/cn.sjyym.mahjong I/OpenGLRenderer: Initialized EGL, version 1.4
01-08 18:57:08.810 6853-6914/cn.sjyym.mahjong D/OpenGLRenderer: Swap behavior 1
01-08 18:57:09.279 6853-6853/cn.sjyym.mahjong D/JIGUANG-Example: [MyReceiver] onReceive - cn.jpush.android.intent.CONNECTION, extras: 
                                                                 key:cn.jpush.android.APPKEY, value:1e063a96d1d1a28a41c337db
                                                                 key:cn.jpush.android.CONNECTION_CHANGE, value:true
01-08 18:57:09.279 6853-6853/cn.sjyym.mahjong W/JIGUANG-Example: [MyReceiver]cn.jpush.android.intent.CONNECTION connected state change to true
01-08 18:57:13.193 6853-6853/cn.sjyym.mahjong V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@89f55c4
01-08 18:57:13.307 6853-6853/cn.sjyym.mahjong D/JIGUANG-JPush: [JPushInterface] action:init - sdkVersion:3.1.0, buildId:391
01-08 18:57:14.034 6853-6853/cn.sjyym.mahjong D/JIGUANG-JPush: [JPushInterface] action:resumePush

(罗先生) #10
01-08 18:57:08.615 6884-6884/? I/art: Late-enabling -Xcheck:jni
01-08 18:57:08.632 6884-6884/? V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@d745e14
01-08 18:57:08.678 6884-6884/cn.sjyym.mahjong:mult D/JIGUANG-Example: [ExampleApplication] onCreate
01-08 18:57:08.694 6884-6884/cn.sjyym.mahjong:mult D/JIGUANG-JPush: [JPushInterface] action:init - sdkVersion:3.1.0, buildId:391
01-08 18:57:08.701 6884-6884/cn.sjyym.mahjong:mult D/JIGUANG-JCore: [JCoreGlobal] metadata: appKey - 1e063a96d1d1a28a41c337db
01-08 18:57:08.701 6884-6884/cn.sjyym.mahjong:mult D/JIGUANG-JCore: [JCoreGlobal] metadata: channel - developer-default
01-08 18:57:08.705 6884-6884/cn.sjyym.mahjong:mult D/JIGUANG-JCore: [AndroidUtil] action:checkValidManifest
01-08 18:57:08.713 6884-6884/cn.sjyym.mahjong:mult D/JIGUANG-JCore: [JCoreServiceUtils] set Push/Alarm Receiver enabled
01-08 18:57:08.731 6884-6884/cn.sjyym.mahjong:mult D/JIGUANG-JCore: [JCoreGlobal] action:init - sdkVersion:1.1.8, buildId:163
01-08 18:57:08.784 6884-6884/cn.sjyym.mahjong:mult D/JIGUANG-JPush: [AndroidUtil] action:checkValidManifest
01-08 18:57:08.818 6884-6884/cn.sjyym.mahjong:mult I/JIGUANG-JPush: [PluginPlatformsInterface] whichPlatform - 0
01-08 18:57:08.819 6884-6884/cn.sjyym.mahjong:mult I/JIGUANG-JPush: [PluginPlatformsInterface] isIntegrateFCM -false
01-08 18:57:08.877 6884-6884/cn.sjyym.mahjong:mult D/JIGUANG-JCore: [PushService] onStartCommand - intent:Intent { act=run.action cmp=cn.sjyym.mahjong/cn.jpush.android.service.PushService (has extras) }, pkg:cn.sjyym.mahjong, connection:0
01-08 18:57:08.879 6884-6884/cn.sjyym.mahjong:mult D/JIGUANG-JCore: [PushService] onStartCommand - intent:Intent { act=cn.jpush.android.intent.INIT cmp=cn.sjyym.mahjong/cn.jpush.android.service.PushService (has extras) }, pkg:cn.sjyym.mahjong, connection:0
01-08 18:57:08.880 6884-6927/cn.sjyym.mahjong:mult D/JIGUANG-JCore: [ARunAction]  pkg:cn.sjyym.mahjong
01-08 18:57:08.880 6884-6927/cn.sjyym.mahjong:mult D/JIGUANG-JCore: [ARunAction] Bundle[{action=cn.jpush.android.intent.REPORT, report.extra.info=, report=crash_log, sdktype=JCORE}]
01-08 18:57:08.880 6884-6884/cn.sjyym.mahjong:mult D/JIGUANG-JCore: [PushService] onStartCommand - intent:Intent { act=cn.jpush.android.intent.RTC cmp=cn.sjyym.mahjong/cn.jpush.android.service.PushService (has extras) }, pkg:cn.sjyym.mahjong, connection:0
01-08 18:57:08.881 6884-6884/cn.sjyym.mahjong:mult D/JIGUANG-JCore: [PushService] onStartCommand - intent:Intent { act=run.action cmp=cn.sjyym.mahjong/cn.jpush.android.service.PushService (has extras) }, pkg:cn.sjyym.mahjong, connection:0
01-08 18:57:08.882 6884-6884/cn.sjyym.mahjong:mult D/JIGUANG-JCore: [PushService] onStartCommand - intent:Intent { act=cn.jpush.android.intent.INIT cmp=cn.sjyym.mahjong/cn.jpush.android.service.PushService (has extras) }, pkg:cn.sjyym.mahjong, connection:0
01-08 18:57:08.884 6884-6884/cn.sjyym.mahjong:mult D/JIGUANG-JCore: [PushReceiver] onReceive - android.net.conn.CONNECTIVITY_CHANGE
01-08 18:57:08.893 6884-6927/cn.sjyym.mahjong:mult D/JIGUANG-JCore: [JiguangTcpManager] Action - restartNetworkingClient, pid:6884
01-08 18:57:08.895 6884-6884/cn.sjyym.mahjong:mult D/JIGUANG-JPush: [PushReceiverCore] onReceive - android.net.conn.CONNECTIVITY_CHANGE
01-08 18:57:08.896 6884-6884/cn.sjyym.mahjong:mult D/JIGUANG-JCore: [PushService] onStartCommand - intent:Intent { act=cn.jpush.android.intent.CONNECTIVITY_CHANGE cmp=cn.sjyym.mahjong/cn.jpush.android.service.PushService (has extras) }, pkg:cn.sjyym.mahjong, connection:0
01-08 18:57:08.896 6884-6927/cn.sjyym.mahjong:mult D/JIGUANG-JCore: [JiguangTcpManager] Action - restartNetworkingClient, pid:6884
01-08 18:57:08.898 6884-6934/cn.sjyym.mahjong:mult I/JIGUANG-JCore: [NetworkingClient] Begin to run in ConnectingThread - id:11845
01-08 18:57:08.906 6884-6927/cn.sjyym.mahjong:mult D/JIGUANG-JCore: [JiguangTcpManager] isRunning:true
01-08 18:57:08.909 6884-6927/cn.sjyym.mahjong:mult D/JIGUANG-JCore: [JiguangTcpManager] Action - restartNetworkingClient, pid:6884
01-08 18:57:08.912 6884-6927/cn.sjyym.mahjong:mult D/JIGUANG-JCore: [JiguangTcpManager] isRunning:true
01-08 18:57:08.913 6884-6927/cn.sjyym.mahjong:mult D/JIGUANG-JCore: [ARunAction]  pkg:cn.sjyym.mahjong
01-08 18:57:08.913 6884-6927/cn.sjyym.mahjong:mult D/JIGUANG-JCore: [ARunAction] Bundle[{action=cn.jpush.android.intent.REPORT, report.extra.info=, report=crash_log, sdktype=JCORE}]
01-08 18:57:08.922 6884-6927/cn.sjyym.mahjong:mult D/JIGUANG-JCore: [JiguangTcpManager] Action - restartNetworkingClient, pid:6884
01-08 18:57:08.925 6884-6927/cn.sjyym.mahjong:mult D/JIGUANG-JCore: [JiguangTcpManager] isRunning:true
01-08 18:57:08.925 6884-6927/cn.sjyym.mahjong:mult D/JIGUANG-JCore: [JiguangTcpManager] Action - restartNetworkingClient, pid:6884
01-08 18:57:08.928 6884-6927/cn.sjyym.mahjong:mult D/JIGUANG-JCore: [JiguangTcpManager] isRunning:true
01-08 18:57:08.931 6884-6927/cn.sjyym.mahjong:mult D/JIGUANG-JCore: [JiguangTcpManager] Action - restartNetworkingClient, pid:6884
01-08 18:57:08.934 6884-6927/cn.sjyym.mahjong:mult D/JIGUANG-JCore: [JiguangTcpManager] isRunning:true
01-08 18:57:08.960 6884-6934/cn.sjyym.mahjong:mult D/JIGUANG-JCore: [SisPolicy] Open connection with main - ip:118.145.3.92, port:7003
01-08 18:57:09.070 6884-6934/cn.sjyym.mahjong:mult I/JIGUANG-JCore: [SisPolicy] Succeed to open connection - ip:118.145.3.92, port:7003
01-08 18:57:09.096 6884-6934/cn.sjyym.mahjong:mult I/JIGUANG-JCore: [ConnectingHelper] Login with - juid:12512555782, appKey:1e063a96d1d1a28a41c337db, sdkVersion:65800, pushVersion:196864, analyticsVersion:0 ,shareVersion:0, pluginPlatformType:0
01-08 18:57:09.234 6884-6934/cn.sjyym.mahjong:mult I/JIGUANG-JCore: [ConnectingHelper] Login succeed - sid:13291, serverTime;1515409029000
01-08 18:57:09.235 6884-6934/cn.sjyym.mahjong:mult D/JIGUANG-JCore: [ConnectingHelper] Action - sendServerTimer
01-08 18:57:09.274 6884-6934/cn.sjyym.mahjong:mult D/JIGUANG-JCore: [NetworkingClient] Network listening...
01-08 18:57:09.274 6884-6921/cn.sjyym.mahjong:mult D/JIGUANG-JCore: [JiguangTcpManager] Action - onLoggedIn - connection:11845
01-08 18:57:09.274 6884-6921/cn.sjyym.mahjong:mult D/JIGUANG-JCore: [ConnectingHelper] Action - sendConnectionChanged
01-08 18:57:09.276 6884-6921/cn.sjyym.mahjong:mult I/JIGUANG-JCore: [ReportHelper] periodTasks...
01-08 18:57:14.040 6884-6927/cn.sjyym.mahjong:mult D/JIGUANG-JPush: [JPushDataAction] Action - onActionRun
01-08 18:57:14.040 6884-6927/cn.sjyym.mahjong:mult D/JIGUANG-JPush: [PushServiceCore] bundle:Bundle[{action=cn.jpush.android.intent.RESTOREPUSH, app=cn.sjyym.mahjong, sdktype=JPUSH}]
01-08 18:57:14.041 6884-6927/cn.sjyym.mahjong:mult D/JIGUANG-JPush: [PushServiceCore] Action - handleServiceAction - action:cn.jpush.android.intent.RESTOREPUSH
01-08 18:57:14.057 6884-6927/cn.sjyym.mahjong:mult D/JIGUANG-JCore: [JiguangTcpManager] jiguang service already started
01-08 18:57:24.281 6884-6921/cn.sjyym.mahjong:mult D/JIGUANG-JCore: [JiguangTcpManager] Send heart beat
01-08 18:57:24.447 6884-6934/cn.sjyym.mahjong:mult D/JIGUANG-JCore: [NetworkingClient] Received bytes - len:36, connection:11845, pkg:cn.sjyym.mahjong
01-08 18:57:24.447 6884-6934/cn.sjyym.mahjong:mult D/JIGUANG-JCore: [NetworkingClient] Network listening...
01-08 18:57:24.447 6884-6921/cn.sjyym.mahjong:mult D/JIGUANG-JCore: [JiguangTcpManager] Action - onHeartbeatSucceed - connection:11845

#11

你去监听下长连接的状态:
https://docs.jiguang.cn/jpush/client/Android/android_api/#_145

判断下是否调用了stoppush。

https://docs.jiguang.cn/jpush/client/Android/android_api/#api_2


(罗先生) #12

添加了监听长连接状态,也判断了isPushStopped代码如下:
Log.v(“Test”,“isPushStopped:” + JPushInterface.isPushStopped(getApplicationContext()));
日志如下:
01-08 19:37:19.774 19354-19354/cn.sjyym.mahjong D/JIGUANG-Example: [MyReceiver] onReceive - cn.jpush.android.intent.CONNECTION, extras:
key:cn.jpush.android.APPKEY, value:1e063a96d1d1a28a41c337db
key:cn.jpush.android.CONNECTION_CHANGE, value:true
01-08 19:37:19.774 19354-19354/cn.sjyym.mahjong W/JIGUANG-Example: [MyReceiver]cn.jpush.android.intent.CONNECTION connected state change to true
01-08 19:37:27.291 19354-19354/cn.sjyym.mahjong V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@9b368d7
01-08 19:37:27.381 19354-19354/cn.sjyym.mahjong D/JIGUANG-JPush: [JPushInterface] action:resumePush
01-08 19:37:27.385 19354-19354/cn.sjyym.mahjong V/Test: isPushStopped:false

还是收不到推送。


(罗先生) #13

发送编号 1515411593
Message ID 2710424838
RegId:140fe1da9e97f35fa43

现在日志一切正常,我之前也成功接入了小米,华为,苹果推送,安卓代码是你们官方后台创建app之后让我下载的demo


(罗先生) #14

JPushExample(810583).zip (5.4 MB)
IDEA 2017.3 可以直接打开编译运行。

https://www.jiguang.cn/


#15

直接在官网控制台扫码下载的 demo 吗?

1、你检查下手机通知栏设置,是不是没有允许通知

2、等待时间长一点,看是否是高峰期延迟的缘故。

我这里测试 demo 推送,很快就收到了,有点奇怪,拿你的信息区查询,我们有做下发,但没有送达,不清楚是数据没有显示全,还是延迟堵塞了。

如果你明天还是没有收到的话,我再上报查一下。

不要随便发自己的账号和密码呀


(罗先生) #16

权限第一天就全部设置为最高。
我现在怀疑是不是我的开发环境太先进,太高导致。要不你用你们的开发环境,把我提交的源代码弄个apk放这里来让我下载运行看看。

后台账号,密码也放上来了。你发几个推送试试。
好几天都收不到,这七个手机有小米,vivo,乐视等等,都收不到。


#17

这个问题我上报给后台查一下看是什么原因。


#18

我们这边正在处理,原因是两个机房之间的调度问题导致的,新建的应用应该没什么问题,你可以尝试新建一个任意的测试应用试一下。

当前这个应用就等待一下,我们这边处理完成会告知。


#19

你现在重新打开一下你的应用,消息可以正常接收了,我这边测试成功的。


(罗先生) #20

谢谢,我刚看到这个回帖,我用IDEA打包安装手机运行,也收到了。