SDK编译运行时出现的Unexpected value from nativeGetEnabledTags: 0刷屏解决方法
来源:互联网 发布:数据地图制作 编辑:程序博客网 时间:2024/05/22 10:36
SDK编译运行时出现的Unexpected value from nativeGetEnabledTags: 0刷屏解决方法
原文地址:
http://stackoverflow.com/questions/13416142/unexpected-value-from-nativegetenabledtags-0
解决方法1:
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:
- Goto your
Logcat
- In the
Saved Filters
part on the left, click on Edit selected logcat filter (If Saved Filters is not visible then click on Display Saved Filters View in the Logcat) - There in the by Log Message field enter ^(?!.(nativeGetEnabledTags)).$.
解决方法2:
I was getting lots of similar messages, so I needed better filters. Add these filters to the LogCat:
By log tag:
^(?!.*(GN_FW_TextView|GN_FW_Editor|SurfaceTextureClient|skia|AbsListView|Provider/Settings|InputMethodManager|jdwp)).*$
By log message:
^(?!.*(nativeGetEnabledTags)).*$
^(?!.*(GN_FW_TextView|GN_FW_Editor|SurfaceTextureClient|skia|AbsListView|Provider/Settings|InputMethodManager|jdwp)).*$
I have added the ^(?!.*(nativeGetEnabledTags)).*$
filter, but you can see how few it helps me:
from 1157 is filtered a few and 799 bypassed same ratio, but a bit bigger numbers:
I needed to add the "SpamFilter" to be able to use the Logcat:
by Log Tag:
^(?!Trace|ADB_SERVICES|BufferQueue|wpa_supplican|SurfaceFlinger|Settings/BW|Bluetooth HS/HF)
by Application Name:
^(?!com.android.systemui|system_process)
For me it made a bit usable the Logcat.
这个是一个比较聪明的方法,具体实现理论(抱歉,E文以及编程理论太肤浅,目前不太懂)
大致的意思就是他有一个过滤关键字为^(?!.*(nativeGetEnabledTags)).*$的filter
但是这个刷屏不是一个纯bug.你可以看看他什么时候在帮助我们;
设置方法很简单,依旧是logcat的filter
Log Tag设置为:
^(?!Trace|ADB_SERVICES|BufferQueue|wpa_supplican|SurfaceFlinger|Settings/BW|Bluetooth HS/HF)
Application Name设置为:^(?!com.android.systemui|system_process)
- SDK编译运行时出现的Unexpected value from nativeGetEnabledTags: 0刷屏解决方法
- 解决ADT大量出现"Unexpected value from nativeGetEnabledTags: 0"的问题
- 解决ADT大量出现"Unexpected value from nativeGetEnabledTags: 0"的问题
- 解决ADT大量出现"Unexpected value from nativeGetEnabledTags: 0"的问题
- 解决ADT大量出现"Unexpected value from nativeGetEnabledTags: 0"的问题
- 解决ADT大量出现"Unexpected value from nativeGetEnabledTags: 0"的问题
- 解决ADT大量出现"Unexpected value from nativeGetEnabledTags: 0"的问题
- 解决ADT大量出现"Unexpected value from nativeGetEnabledTags: 0"的问题
- 解决ADT大量出现"Unexpected value from nativeGetEnabledTags: 0"的问题
- 解决ADT大量出现"Unexpected value from nativeGetEnabledTags: 0"的问提
- 解决ADT大量出现"Unexpected value from nativeGetEnabledTags: 0"的问题
- "Unexpected value from nativeGetEnabledTags: 0"log的过滤
- Eclipse--LogCat--->"Unexpected value from nativeGetEnabledTags: 0"
- LogCat 中的 Unexpected value from nativeGetEnabledTags: 0
- LogCat大量Unexpected value from nativeGetEnabledTags: 0
- android模拟器Unexpected value from nativeGetEnabledTags: 0 问题解决方法
- Android模拟器Unexpected value from nativeGetEnabledTags: 0 问题解决方法
- android模拟器Unexpected value from nativeGetEnabledTags: 0 问题解决方法
- 最大值与最小值
- php+redis+python网站部署方案
- 读《如何找对另一半》后感以及论自己择偶标准
- 关于linux中内核编程中结构体的赋值操作(结构体指定初始化)
- python连接mysql
- SDK编译运行时出现的Unexpected value from nativeGetEnabledTags: 0刷屏解决方法
- [leetcode] Trapping Rain Water
- 除去最大、最小值后,还有多少个,strtok的应用
- 转win8 64位+Oracle 11g 64位下使用PL/SQL Developer 的解决办法
- python处理数据脚本
- Android 自定义View (三) 圆环交替 等待效果
- Openfire简介及安装配置
- Python基础语法
- 制作Linux(Fedora、Ubuntu、CentOS)优盘启动