Skip to content

android15上调用FileDownloader.getImpl().bindService()的时候出现SecurityException #1472

@1345241828

Description

@1345241828

调用FileDownloader.getImpl().bindService()时出现以下错误:java.lang.SecurityException: Unable to start service Intent { cmp=www.test.com/com.liulishuo.filedownloader.services.FileDownloadService$SeparateProcessService (has extras) }: Unable to launch app www.test.com/10696 for service Intent { cmp=www.test.com/com.liulishuo.filedownloader.services.FileDownloadService$SeparateProcessService }: process is bad
at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1983)
at android.app.ContextImpl.startService(ContextImpl.java:1940)
at android.content.ContextWrapper.startService(ContextWrapper.java:843)
at com.liulishuo.filedownloader.services.BaseFileServiceUIGuard.bindStartByContext(BaseFileServiceUIGuard.java:167)
at com.liulishuo.filedownloader.services.BaseFileServiceUIGuard.bindStartByContext(BaseFileServiceUIGuard.java:129)
at com.liulishuo.filedownloader.FileDownloadServiceProxy.bindStartByContext(FileDownloadServiceProxy.java:115)
at com.liulishuo.filedownloader.LostServiceConnectedHandler.dispatchTaskStart(LostServiceConnectedHandler.java:138)
但是不是稳定出现,只有少数情况下会出现。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions