You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

CoroutineWorker中出现ForegroundServiceDidNotStartInTimeException问题求助

CoroutineWorker中出现ForegroundServiceDidNotStartInTimeException问题求助

各位大佬求助!我的Android应用现在有将近20万用户碰到了同一个崩溃问题,快愁死我了😭 具体的错误信息是:

android.app.RemoteServiceException$ForegroundServiceDidNotStartInTimeException: Context.startForegroundService() did not then call Service.startForeground()

这个崩溃看起来是出在我写的那个负责媒体上传的CoroutineWorker类里,这个类是我按照CoroutineWorker的常规实现思路来编写的。

备注:内容来源于stack exchange,提问作者despicable_dev

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.04.13 16:29:35