Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse LogCat getting spammed by OpenGLRenderer

I am developing an android app (Phonegap) and whenever I am testing on the device that is plugged in I cannot see the error on the log because of OpenGLRenderer prepareDirty populating the log. It's very annoying, how to get rid of it?

Device: Lenovo Tab A7

see screenshot: enter image description here

like image 346
clintgh Avatar asked Oct 21 '14 10:10

clintgh


3 Answers

<application android:hardwareAccelerated="false" ...>

or for the activity

<activity android:hardwareAccelerated="false" />

After a fair amount of google research, turning off hardware acceleration was the only workaround found. Set the following in your manifest for the entire application

like image 88
wyxiloveu Avatar answered Oct 16 '22 16:10

wyxiloveu


to do custome log message filter

you can set custome filter in android studio.

and add follow tag and your package name

^(?!.(OpenGLRenderer)).$

where OpenGLRenderer can be replace with the tag that you want to ignore

like ^(?!.(youctag1|tag2|tag3)).$

like image 44
Eric Ho Avatar answered Oct 16 '22 18:10

Eric Ho


if you are using Android Studio, you can get rid of those annoying messages by adding a filter configuration with :

Log Tag:
^((?!(?:OpenGLRenderer|GraphicBuffer|MaliEGL)).)*$

and don't forget to set your package name.

like image 42
laoyur Avatar answered Oct 16 '22 16:10

laoyur