FileDownloader
FileDownloader copied to clipboard
Caused by android.app.ForegroundServiceStartNotAllowedException Service.startForeground() not allowed due to mAllowStartForeground false:
Before Issue
- Please search on the Issues
- Please search on the wiki
- Please set
FileDownloadLog.NEED_LOG=trueand review the Logcat output from main process and:filedownloaderprocess ( pay attention to Warn and Error level logcat)
Issue
- What problem do you get?
- Which version of FileDownloader are you using when you produce such problem?
- How to reproduce such problem?
- Do you set
FileDownloadLog.NEED_LOG=true? - Could you please reproduce this problem and provide all main process and
:filedownloaderprocess logcat - Can you fix it by yourself and request PR, if not, what's problem do you get when you try to fix it
P.S. If you don't know how to get
:filedownloaderprocess, it's recommended to usingpidcatto just filter all your application logcat, or defineprocess.non-separate=trueon filedownloader.properties
请在Issue前认真的跟进上面提到的建议,这样将可以极大的加快你遇到问题的处理。
Duplicate of #1425.
和 #1425 重复了,把这个关掉。