I installed the latest version of the SDK (r21) and ADT 21.0.0. I tried simple code, and it works well, but now I get a warning in LogCat that did not appear in the previous versions:
Unexpected value from nativeGetEnabledTags: 0
I googled it, and I found Issue 39723: Emulator spams LogCat with "Unexpected value from nativeGetEnabledTags: 0" message.
What does it mean?
I just ran into this problem, too. As a workaround I'm filtering the LogCat
output with the following expression on the by Log Message
field of the filter:
^(?!.*(nativeGetEnabledTags)).*$
Otherwise it is so spammed it's almost useless.
Following Laksh suggestion, if you want to filter this always without having to always write it on the Search for messages
field:
Logcat
Saved Filters
part on the left, click on the Edit selected logcat filter
(If Saved Filters is not visible then click on Display Saved Filters View in the Logcat)^(?!.*(nativeGetEnabledTags)).*$
. It's a bug in the emulator System Image for API 17.
At the moment, your workarounds are the following:
If you DON'T need API level 17
If you DO need API level 17
The link which you referred to has the answer. It is a bug introduced in the latest revision of the tools. In the followup comments you can read that a google representative says a fix is on the way.
Update the ARM EABI v7a System Image
from Android SDK Manager
and the warning wont be seen any more .. !! :)
Yes. This works only for ARM EABI System Image and not for Intel image.
Update
Seems like there is a Update available for the Intel x86 Atom System Image
for API 18 which fixes the issue (I have not tried it though). A link
to manually install the system image. Ofcourse its also available in Android SDK Manager.
But its only for Android 4.3. The 4.2.x developers might still have to wait for a fix..!
The problem with Intel x86 Atom images and "nativeGetEnabledTags: 0" is fixed with the release of the Android 4.3 (API 18) Intel x86 Atom image. I just tested it and can confirm that.
With ARM images this was fixed some time ago, I know ...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With