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

Unable to start service com.liulishuo.filedownloader.services.FileDownloadService$SharedMainProcessService #22

Open
GaneshHegdeSharechat opened this issue Dec 6, 2024 · 0 comments · May be fixed by #23

Comments

@GaneshHegdeSharechat
Copy link

GaneshHegdeSharechat commented Dec 6, 2024

Issue

  1. What problem do you get?

Fatal Exception: java.lang.RuntimeException
Unable to start service com.liulishuo.filedownloader.services.FileDownloadService$SharedMainProcessService@4f09cbf with Intent { cmp=../com.liulishuo.filedownloader.services.FileDownloadService$SharedMainProcessService (has extras) }: android.app.ForegroundServiceStartNotAllowedException: Service.startForeground() not allowed due to mAllowStartForeground false: service ../com.liulishuo.filedownloader.services.FileDownloadService$SharedMainProcessService

Crash is not reproducible, happening 100% background and 100% in Android 14.

  1. Which version of FileDownloader are you using when you produce such problem?
Tried both 1.7.9 and 1.7.10. 
Getting crashes in both.
  1. How to reproduce such problem?
    Only seeing it in Crashalytics and it is not reproducible locally

Related topic:
https://issuetracker.google.com/issues/307329994

PR for fixing the issue:

#23

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