我在啟動(dòng)service時(shí)使用了startForeGroundService,在Service的onCreate中使用了startForeground去顯示一個(gè)notification,但是線上仍然會收到三星,moto的一些機(jī)器報(bào)的android.app.RemoteServiceException Context.startForegroundService() did not then call Service.startForeground()錯(cuò)誤,請問你遇到過嗎,你是如何使用的呢
Android適配總結(jié)之服務(wù)本文內(nèi)容沒有什么技術(shù),僅做問題及方案記錄。 1 參考 Android 8.0 + Service開啟方式兼容處理 后臺執(zhí)行限制 2 變更記錄 2.1 Android 8.0 ...