JPush初始化失败

jabberwocky
7年前 1.3k 0
* D/JIGUANG-JPush: [JPushInterface] action:init - sdkVersion:3.0.3, buildId:346
* D/JIGUANG-JPush: [AndroidUtil] action:checkValidManifest
* W/dalvikvm: Unable to resolve superclass of Lcn/jpush/android/service/PushJobService; (180)
* W/dalvikvm: Link of class 'Lcn/jpush/android/service/PushJobService;' failed
* E/dalvikvm: Could not find class 'cn.jpush.android.service.PushJobService', referenced from method cn.jiguang.f.a.a
* W/dalvikvm: VFY: unable to resolve const-class 2695 (Lcn/jpush/android/service/PushJobService;) in Lcn/jiguang/f/a;
* D/JIGUANG-JCore: [JCoreServiceUtils] set Push/Alarm Receiver enabled

最后的相关日志(我过滤了'Push',Verbose级别)

我用的是应该是当前最新的:
compile 'cn.jiguang.sdk:jpush:3.0.3'
compile 'cn.jiguang.sdk:jcore:1.1.1'

我所做的配置:

两处gradle配置了jcenter(),当前module下的gradle的defaultConfig配置了ndk和manifestPlaceholders(package name、appkey、channel等)

然后在我的root activity添加了JPushInterface.setDebugMode(true);还有JPushInterface.init(this);

其余的部分没做配置

1个回答

热门排序