how to hide OpenGLRenderer in debug (android studio)

你说的曾经没有我的故事 提交于 2020-01-03 19:03:56

问题


I got this in debug every seconds, how to hide these messages and stay my debug logs ?

11-17 13:20:01.885 18135-18135/ru.elron.app D/OpenGLRenderer: prepareDirty (0.00, 0.00, 540.00, 960.00) opaque 1 <0x607c1008>
11-17 13:20:01.886 18135-18135/ru.elron.app D/OpenGLRenderer: drawRect multiDraw RelativeLayout @41d8ab88 paint 0x5efe8830 id 5 style 0 AA 0 color 0xff168ce3
11-17 13:20:01.887 18135-18135/ru.elron.app D/OpenGLRenderer: drawRect multiDraw View @41d8d720 paint 0x60efcce0 id 5 style 0 AA 0 color 0x10ffffff
11-17 13:20:01.889 18135-18135/ru.elron.app D/OpenGLRenderer: finish <0x607c1008>

回答1:


I have the same problem. It seems to be some bug in the phone (if you can't switch it off in developer options). The way to (temporarilly) solve it:

add in AndroidManifest.xml to the <application> the tag android:hardwareAccelerated="false"

You can then remove them by release



来源:https://stackoverflow.com/questions/33754773/how-to-hide-openglrenderer-in-debug-android-studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!