alienzh

Results 10 comments of alienzh

我是直接拉的 demo 编译的,打开直接闪退 ![image](https://user-images.githubusercontent.com/20857425/50411121-90150c00-0838-11e9-9a63-ebdbab5c5651.png)

> > 我是直接拉的 demo 编译的,打开直接闪退 > > ![image](https://user-images.githubusercontent.com/20857425/50411121-90150c00-0838-11e9-9a63-ebdbab5c5651.png) > > 将ArgusAPM的版本号更改为2.0.1.1007就可以了 嗯, 可以了。

hideNotificationAfterO已经修改为false了,还是收到这个crash . AndroidRuntime: android.app.RemoteServiceException: Context.startForegroundService() did not then call Service.startForeground()

我发现bugly 上面报错的都是 8.1 系统 , hideNotificationAfterO设置为false的, 也会报这个问题

> 我发现bugly 上面报错的都是 8.1 系统 , hideNotificationAfterO设置为false的, 也会报这个问题 原来是api不同, bugly定位错误不同, 8.0版本也有这问题

> > 对的,这是8.0以上隐藏通知栏的问题导致的,要么hideNotificationAfterO设置为false > > 有没有其他办法呢?通知栏一直显示感觉不太友好 你好, 请问你现在解决这个问题了嘛? 我一开始是当应用进入后台 启动保活, 进入前台关闭保活, 这样体验上会好些, 但发现经常报“Context.startForegroundService() did not then call Service.startForeground()” 这个错误; 最新的一个版本 又把通知栏直接隐藏了, 这样又发现 "Bad notification for startForeground" 报错又特别多; 总之现在无论用哪种方式bugly 统计到的崩溃率都很高, 感觉是在无解.

你是怎么解决的?

我最后一个item是一个横向的recylerview,recylerview中的item设置了margin

没有设置的,后来直接设置页面最外层requestChildFocus();替换焦点了;但还是不知道是哪里获取焦点了