Android O的应用crash和anr问题。
lzy19920619 opened this issue · comments
刘多多 commented
Samsung Galaxy A51 (a51) Android 10手机开启保活后偶尔会报startForegroundService() did not then call Service.startForeground(),从而引出ANR的问题,可能随着大量手机系统升级到O,后续可能出现的频类会增多。
gyf-dev commented
只能调用hideNotificationAfterO改为false
alienzh commented
hideNotificationAfterO已经修改为false了,还是收到这个crash .
AndroidRuntime: android.app.RemoteServiceException: Context.startForegroundService() did not then call Service.startForeground()
cjacky commented
只能调用hideNotificationAfterO改为false
方法调用了,但是还是会出现问题