java.lang.RuntimeException: Unable to bind to service com.bobbyesp.spowlo.DownloaderKeepUpService@a56be09 with Intent { cmp=com.bobbyesp.spowlo/.DownloaderKeepUpService }: android.app.ForegroundServiceStartNotAllowedException: Service.startForeground() not allowed due to mAllowStartForeground false: service com.bobbyesp.spowlo/.DownloaderKeepUpService
at android.app.ActivityThread.handleBindService(ActivityThread.java:4985)
at android.app.ActivityThread.access$1900(ActivityThread.java:310)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2305)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8663)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)
Caused by: android.app.ForegroundServiceStartNotAllowedException: Service.startForeground() not allowed due to mAllowStartForeground false: service com.bobbyesp.spowlo/.DownloaderKeepUpService
at android.app.ForegroundServiceStartNotAllowedException$1.createFromParcel(ForegroundServiceStartNotAllowedException.java:54)
at android.app.ForegroundServiceStartNotAllowedException$1.createFromParcel(ForegroundServiceStartNotAllowedException.java:50)
at android.os.Parcel.readParcelable(Parcel.java:3346)
at android.os.Parcel.createExceptionOrNull(Parcel.java:2433)
at android.os.Parcel.createException(Parcel.java:2422)
at android.os.Parcel.readException(Parcel.java:2405)
at android.os.Parcel.readException(Parcel.java:2347)
at android.app.IActivityManager$Stub$Proxy.setServiceForeground(IActivityManager.java:8095)
at android.app.Service.startForeground(Service.java:733)
at com.bobbyesp.spowlo.DownloaderKeepUpService.onBind(DownloaderKeepUpService.kt:26)
at android.app.ActivityThread.handleBindService(...
java.lang.RuntimeException: Unable to bind to service com.bobbyesp.spowlo.DownloaderKeepUpService@a56be09 with Intent { cmp=com.bobbyesp.spowlo/.DownloaderKeepUpService }: android.app.ForegroundServiceStartNotAllowedException: Service.startForeground() not allowed due to mAllowStartForeground false: service com.bobbyesp.spowlo/.DownloaderKeepUpService at android.app.ActivityThread.handleBindService(ActivityThread.java:4985) at android.app.ActivityThread.access$1900(ActivityThread.java:310) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2305) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:226) at android.os.Looper.loop(Looper.java:313) at android.app.ActivityThread.main(ActivityThread.java:8663) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135) Caused by: android.app.ForegroundServiceStartNotAllowedException: Service.startForeground() not allowed due to mAllowStartForeground false: service com.bobbyesp.spowlo/.DownloaderKeepUpService at android.app.ForegroundServiceStartNotAllowedException$1.createFromParcel(ForegroundServiceStartNotAllowedException.java:54) at android.app.ForegroundServiceStartNotAllowedException$1.createFromParcel(ForegroundServiceStartNotAllowedException.java:50) at android.os.Parcel.readParcelable(Parcel.java:3346) at android.os.Parcel.createExceptionOrNull(Parcel.java:2433) at android.os.Parcel.createException(Parcel.java:2422) at android.os.Parcel.readException(Parcel.java:2405) at android.os.Parcel.readException(Parcel.java:2347) at android.app.IActivityManager$Stub$Proxy.setServiceForeground(IActivityManager.java:8095) at android.app.Service.startForeground(Service.java:733) at com.bobbyesp.spowlo.DownloaderKeepUpService.onBind(DownloaderKeepUpService.kt:26) at android.app.ActivityThread.handleBindService(...