jpush service 启动失败

jpush
标签: #<Tag:0x00007fb83c53ffb0>

(搭铁可汗) #1

jpushsdk版本2.1.9,初始化日志如下:

09-12 20:53:50.541 30136-30136/? D/JPush: [JPushInterface] action:init - sdkVersion:2.1.9, buildId:326
09-12 20:53:50.541 30136-30136/? W/linker: libjpush219.so: unused DT entry: type 0x6ffffffe arg 0x4614
09-12 20:53:50.541 30136-30136/? W/linker: libjpush219.so: unused DT entry: type 0x6fffffff arg 0x1
09-12 20:53:50.581 30136-30136/? D/JPush: [JPushGlobal] metadata: appKey - da3045ca6110a2c2c2c711e7
09-12 20:53:50.581 30136-30136/? D/JPush: [JPushGlobal] metadata: channel - developer-default
09-12 20:53:50.581 1425-2618/? D/ActiveServicesManager: getInstanceId caller:android.app.ApplicationThreadProxy@11e631e8 intent:Intent { cmp=com.ebupt.jartest/cn.jpush.android.service.PushService }
09-12 20:53:50.581 1425-2618/? D/SmartShowServiceContextImpl: getInstanceId callerAppInfo:ApplicationInfo{1a5672ef com.ebupt.jartest} intent:Intent { cmp=com.ebupt.jartest/cn.jpush.android.service.PushService }
09-12 20:53:50.581 1425-2673/? D/ActiveServicesManager: getInstanceId caller:android.app.ApplicationThreadProxy@14e08494 intent:Intent { act=cn.jpush.android.intent.REPORT cmp=com.ebupt.jartest/cn.jpush.android.service.PushService (has extras) }
09-12 20:53:50.581 1425-2673/? D/SmartShowServiceContextImpl: getInstanceId callerAppInfo:ApplicationInfo{1a5672ef com.ebupt.jartest} intent:Intent { act=cn.jpush.android.intent.REPORT cmp=com.ebupt.jartest/cn.jpush.android.service.PushService (has extras) }
09-12 20:53:50.581 1425-2619/? D/ActiveServicesManager: getInstanceId caller:android.app.ApplicationThreadProxy@2a75bb3d intent:Intent { act=cn.jpush.android.intent.INIT cmp=com.ebupt.jartest/cn.jpush.android.service.PushService (has extras) }
09-12 20:53:50.581 1425-2619/? D/SmartShowServiceContextImpl: getInstanceId callerAppInfo:ApplicationInfo{1a5672ef com.ebupt.jartest} intent:Intent { act=cn.jpush.android.intent.INIT cmp=com.ebupt.jartest/cn.jpush.android.service.PushService (has extras) }
09-12 20:53:50.681 30136-30136/? D/JPush: [JPushInterface] action:init - sdkVersion:2.1.9, buildId:326
09-12 20:53:50.681 1425-2583/? D/ActiveServicesManager: getInstanceId caller:android.app.ApplicationThreadProxy@3aff7d56 intent:Intent { act=cn.jpush.android.intent.INIT cmp=com.ebupt.jartest/cn.jpush.android.service.PushService (has extras) }
09-12 20:53:50.681 1425-2583/? D/SmartShowServiceContextImpl: getInstanceId callerAppInfo:ApplicationInfo{1a5672ef com.ebupt.jartest} intent:Intent { act=cn.jpush.android.intent.INIT cmp=com.ebupt.jartest/cn.jpush.android.service.PushService (has extras) }
09-12 20:53:50.941 1425-2618/? W/ActivityManager: Scheduling restart of crashed service com.ebupt.jartest/cn.jpush.android.service.PushService in 1000ms
09-12 20:53:51.941 1425-1508/? D/ActivityManager: app: com.ebupt.jartest:remote, app uid: 10703, user 0, intent ComponentInfo{com.ebupt.jartest/cn.jpush.android.service.PushService}, calling uid 10703, mCallerApp null
09-12 20:53:51.951 1425-1508/? I/ActivityManager: Start proc 30233:com.ebupt.jartest:remote/u0a703 for service com.ebupt.jartest/cn.jpush.android.service.PushService
09-12 20:53:52.371 1425-2545/? W/ActivityManager: Service crashed 2 times, stopping: ServiceRecord{39b3d0e7 u0 com.ebupt.jartest/cn.jpush.android.service.PushService}

没看到push service init的动作,求助官方解释,3q


#2

请根据集成指南,添加init和debug,看完整的jpush相关的日志信息