JServiceCommandHelper init failed

90ecde1e32b0711100df
2018-08-30 08:59 1.5k 0

集成SDK后,能收到推送消息,但是没有[PushService] Login succeed! 设置别名时,调用setAlias后没有反应,具体日志如下。 [JServiceCommandHelper] init failed 可能是什么原因?

```
08-30 16:52:16.739 29155-29155/com.shouyou.ligu D/JIGUANG-JPush: [JPushInterface] action:init - sdkVersion:3.1.5, buildId:409
08-30 16:52:16.739 29155-29155/com.shouyou.ligu D/JIGUANG-JCore: [JCoreGlobal] action:init - sdkVersion:1.2.3, buildId:193
08-30 16:52:16.777 29155-29155/com.shouyou.ligu D/JIGUANG-JCore: [JCoreGlobal] manifest:channel - developer-default
08-30 16:52:16.778 29155-29155/com.shouyou.ligu D/JIGUANG-JCore: [JCoreGlobal] metadata: appKey - 41aed25672758f0c1e43f622
08-30 16:52:16.778 29155-29155/com.shouyou.ligu D/JIGUANG-JCore: [AndroidUtil] action:checkValidManifest
08-30 16:52:16.781 29155-29155/com.shouyou.ligu W/JIGUANG-JCore: [AndroidUtil] AndroidManifest.xml missing required service: cn.jpush.android.service.DaemonService
08-30 16:52:16.786 29155-29155/com.shouyou.ligu D/JIGUANG-JCore: [JCoreServiceUtils] set Push/Alarm Receiver enabled
08-30 16:52:16.824 29155-29155/com.shouyou.ligu D/JIGUANG-JPush: [AndroidUtil] action:checkValidManifest
08-30 16:52:17.571 29287-29308/com.shouyou.ligu:mult E/JIGUANG-JCore: [JServiceCommandHelper] init failed
08-30 16:52:17.572 29287-29308/com.shouyou.ligu:mult E/JIGUANG-JCore: [JServiceCommandHelper] callAction failed,logThrowable:java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Context android.content.Context.getApplicationContext()' on a null object reference
08-30 16:52:18.111 29155-29155/com.shouyou.ligu D/JIGUANG-JCore: [PushReceiver] onReceive - cn.jpush.android.intent.ACTION_REPORT_HISTORY
08-30 16:52:18.120 29155-29424/com.shouyou.ligu D/JIGUANG-JPush: [PushReceiverCore] onReceive - cn.jpush.android.intent.ACTION_REPORT_HISTORY

1个回答

热门排序
  • Attempt to invoke virtual method 'android.content.Context android.content.Context.getApplicationContext()' on a null obj 展示全部