Memory occupied too high: com.vvvdj.player(130mb) killed
WIN DEATH: Window{...PlayingActivity}
Process com.vvvdj.player (pid 9779) has died
Service crashed 0 times, stopping: ...DownloadService ...PlayerService
DownloadService,Android 8+ 限制后台 Service 執行網絡操作,易被系統回收。MediaPlayer.setDataSource 流式播放,避免全量緩存。Glide/Picasso 自動管理緩存。播放服務調用 startForeground(notificationId, notification),顯示持續通知,提升進程優先級至「前台」,極大降低被殺概率。
IntentService(已棄用)或 JobIntentService / WorkManager 確保後台執行權限。