Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[App crash] #169

Open
Marshall420-oss opened this issue May 2, 2024 · 0 comments
Open

[App crash] #169

Marshall420-oss opened this issue May 2, 2024 · 0 comments

Comments

@Marshall420-oss
Copy link

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(...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant