FileDownloader icon indicating copy to clipboard operation
FileDownloader copied to clipboard

在华为中兴等机型上报java.lang.RuntimeException: Occur Unknown Error, when request to start maybe some problem in binder, maybe the process was killed in unexpected.

Open 2e2ee95304418f96 opened this issue 6 years ago • 2 comments

然后在assets中添加process.non-separate=true则解决了此问题,请问是什么原因导致的?之前没出现过,线上版本已存在此问题。

2e2ee95304418f96 avatar Jul 13 '18 20:07 2e2ee95304418f96

这应该是个很极端的边界 case ,可能是启动 task 和 启动 service 同时进行了。不过具体是怎样需要有 FileDownloader 日志才能分析。还有你启动的线程是主线程吗?


默认 FileDownloader 运行在 filedownloader 进程,process.non-separate=true 表示FileDownloader在主进程运行 ,此时启动下载服务没有启动 filedownloader 进程的过程,所以推测不会出现这个问题。

rantianhua avatar Jul 16 '18 08:07 rantianhua

我用的最新版本突然遇到了这个问题。。。马上就要发新包了。。。

HandSomeMaster avatar Feb 02 '21 06:02 HandSomeMaster