I have just started on phonegap and trying to setup first basic minimal project in eclipse. I followed through the phonegap docs at http://docs.phonegap.com/en/edge/guide_pl
@theczechsensation's solution is already half way there.
For those who like to exclude noisy log messages and keep the log to their app only this is the solution:
Add your exclusions to Log Tag like this: ^(?!(eglCodecCommon|tagToExclude))
Add your package name or prefix to Package Name: com.mycompany.
This way it is possible to filter for as many strings you like and keep the log to your package.
I Get the same message, when using Intel XHAM emulator (instead of ARM) and have "Use Host GPU" option enabled. I belive when you disable it, it goes away.
This is caused if you use the "Use host GPU" setting of the emulator and it will disappear after you uncheck this option. If you still need "Use host GPU", you can just filter out the errors by customizing the Logcat Filter. Enter ^(?!eglCodecCommon)
into the "by Log Tag (regex)" field in order to strip out the unwanted lines from the Logcat output.
It's very annoying. I'm not sure why Google places it there - no one needs these trash from emulator at all; we know what we are doing. I'm using pidcat
and I modified it a bit
BUG_LINE = re.compile(r'.*nativeGetEnabledTags.*')
BUG_LINE2 = re.compile(r'.*glUtilsParamSize.*')
BUG_LINE3 = re.compile(r'.*glSizeof.*')
and
bug_line = BUG_LINE.match(line)
if bug_line is not None:
continue
bug_line2 = BUG_LINE2.match(line)
if bug_line2 is not None:
continue
bug_line3 = BUG_LINE3.match(line)
if bug_line3 is not None:
continue
It's an ugly fix and if you're using the real device you may need those OpenGL errors, but you got the idea.
This is an error that you see when your emulator has the "Use host GPU" setting checked. If you uncheck it then the error goes away. Of course, then your emulator is not as responsive anymore.
For those who like to work close to the metal, here is a command that will clear out the unwanted soot, without needing any special tools or scripts:
adb logcat "eglCodecCommon:S"