Tuesday, 5 November 2013

Android Logcat - Unexpected value from nativeGetEnabledTags

I've recently started using Phonegap for a new project as we're targeting iOS, Android and WinPhone simultaneously. It's early days but I've had very few problems so far.

After running 'phonegap platform add android' and starting up the basic project for the first time in Eclipse I was met with this error, hundreds of times, in Logcat:
Unexpected value from nativeGetEnabledTags
The workaround for this is to filter out the message in Logcat by using this:

^(?!.*(nativeGetEnabledTags)).*$

Goto your Logcat, and in the Saved Filters part, click on Edit selected logcat filter. There in the by Log Message field enter ^(?!.*(nativeGetEnabledTags)).*$. If Saved Filters is not visible then click on Display saved filters view in the Logcat.

No comments:

Post a Comment

Comments are moderated, so you'll have to wait a little bit before they appear!