KeepAlive icon indicating copy to clipboard operation
KeepAlive copied to clipboard

使用各种保活方案兼容4.0-9.0保活,效果良好

Results 8 KeepAlive issues
Sort by recently updated
recently updated
newest added

2020-06-01 17:43:42.497 790-817/? E/ActivityManager: ANR in com.sdk.coolfar_sdk:watch PID: 15201 Reason: Context.startForegroundService() did not then call Service.startForeground() 出现设备 nexus 60 android版本 8.1.0 出现时机 清除掉进程之后,在logcat中会有打印此anr

只提示电池优化的权限,不提示自启动的权限。

ActivityThread: Service com.sdk.coolfar_sdk.MyService has leaked ServiceConnection com.sdk.keepbackground.work.AbsWorkService$1@6cc4ee0 that was originally bound here android.app.ServiceConnectionLeaked: Service com.sdk.coolfar_sdk.MyService has leaked ServiceConnection com.sdk.keepbackground.work.AbsWorkService$1@6cc4ee0 that was originally bound here at com.sdk.keepbackground.work.DaemonEnv.startServiceMayBind(DaemonEnv.java:63) at com.sdk.keepbackground.work.AbsWorkService.onStart(AbsWorkService.java:79) at com.sdk.coolfar_sdk.MyService.onStart(MyService.java:41)...

运行在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 ...

[音乐.zip](https://github.com/Ray512512/KeepAlive/files/3700191/default.zip)可以替换成这个