KeepAlive icon indicating copy to clipboard operation
KeepAlive copied to clipboard

4.4.2 安卓版本报错

Open cjy1196261487 opened this issue 5 years ago • 4 comments

运行在5.1版本以下的安卓设备报错

1 java.lang.RuntimeException:Unable to start service com.sdk.keepbackground.watch.WatchDogService@41ee6ba8 with Intent { cmp=com.syx.shengshi/com.sdk.keepbackground.watch.WatchDogService }: java.lang.NullPointerException

2 android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2911) 3 ...... 4 Caused by: 5 java.lang.NullPointerException: 6 android.content.ComponentName.(ComponentName.java:78) 7 android.content.Intent.(Intent.java:3836) 8 com.sdk.keepbackground.watch.WatchDogService.a(WatchDogService.java:90) 9 com.sdk.keepbackground.watch.WatchDogService.onStartCommand(WatchDogService.java:65) 10 android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2874) 11 android.app.ActivityThread.access$2300(ActivityThread.java:143) 12 android.app.ActivityThread$H.handleMessage(ActivityThread.java:1366) 13 android.os.Handler.dispatchMessage(Handler.java:102) 14 android.os.Looper.loop(Looper.java:136) 15 android.app.ActivityThread.main(ActivityThread.java:5291) 16 java.lang.reflect.Method.invokeNative(Native Method) 17 java.lang.reflect.Method.invoke(Method.java:515) 18 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:849) 19 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:665) 20 dalvik.system.NativeStart.main(Native Method)

cjy1196261487 avatar Sep 24 '19 03:09 cjy1196261487

修复了1.1.1版本

Ray512512 avatar Sep 24 '19 05:09 Ray512512

您好 这个问题好像依旧存在 image

cjy1196261487 avatar Sep 26 '19 09:09 cjy1196261487

1.1.1打包好像没把这块修改的打进去 我重新打了下1.1.2的 测试了没问题了

Ray512512 avatar Oct 08 '19 07:10 Ray512512

android4.4.2下 清除后台,会报空指针错误, image

cjy1196261487 avatar Oct 09 '19 06:10 cjy1196261487