android – logcat中的WARN ResourceType:对于资源…,条目索引(…)超出类型entryCount(1)
作者:互联网
每次应用程序渲染一些布局时,我都会在logcat上收到这些警告.试图搜索但无法找到线索.
我认为是与资源(drawables,字符串或值)相关的东西,但我不知道是什么导致了这一点.
这不是错误,但有点烦人.
有人有想法吗?
04-22 15:28:33.204 21943-21943/xx.xxx.xxxxxxx.xxxxx.xxxxx W/ResourceType﹕ For resource 0x01030128, entry index(296) is beyond type entryCount(1)
04-22 15:28:33.204 21943-21943/xx.xxx.xxxxxxx.xxxxx.xxxxx W/ResourceType﹕ For resource 0x01030224, entry index(548) is beyond type entryCount(1)
04-22 15:28:33.204 21943-21943/xx.xxx.xxxxxxx.xxxxx.xxxxx W/ResourceType﹕ For resource 0x01030005, entry index(5) is beyond type entryCount(1)
04-22 15:28:33.204 21943-21943/xx.xxx.xxxxxxx.xxxxx.xxxxx W/ResourceType﹕ For resource 0x01030237, entry index(567) is beyond type entryCount(1)
04-22 15:28:33.204 21943-21943/xx.xxx.xxxxxxx.xxxxx.xxxxx W/ResourceType﹕ For resource 0x0103000c, entry index(12) is beyond type entryCount(1)
04-22 15:28:33.205 21943-21943/xx.xxx.xxxxxxx.xxxxx.xxxxx W/ResourceType﹕ For resource 0x010301ed, entry index(493) is beyond type entryCount(1)
04-22 15:28:33.205 21943-21943/xx.xxx.xxxxxxx.xxxxx.xxxxx W/ResourceType﹕ For resource 0x010301f8, entry index(504) is beyond type entryCount(1)
04-22 15:28:33.205 21943-21943/xx.xxx.xxxxxxx.xxxxx.xxxxx W/ResourceType﹕ For resource 0x010301f9, entry index(505) is beyond type entryCount(1)
04-22 15:28:33.205 21943-21943/xx.xxx.xxxxxxx.xxxxx.xxxxx W/ResourceType﹕ For resource 0x010301fb, entry index(507) is beyond type entryCount(1)
04-22 15:28:33.205 21943-21943/xx.xxx.xxxxxxx.xxxxx.xxxxx W/ResourceType﹕ For resource 0x01030206, entry index(518) is beyond type entryCount(1)
04-22 15:28:33.205 21943-21943/xx.xxx.xxxxxxx.xxxxx.xxxxx W/ResourceType﹕ For resource 0x010301fa, entry index(506) is beyond type entryCount(1)
04-22 15:28:33.205 21943-21943/xx.xxx.xxxxxxx.xxxxx.xxxxx W/ResourceType﹕ For resource 0x010301fc, entry index(508) is beyond type entryCount(1)
04-22 15:28:33.205 21943-21943/xx.xxx.xxxxxxx.xxxxx.xxxxx W/ResourceType﹕ For resource 0x01030207, entry index(519) is beyond type entryCount(1)
04-22 15:28:33.205 21943-21943/xx.xxx.xxxxxxx.xxxxx.xxxxx W/ResourceType﹕ For resource 0x0103029d, entry index(669) is beyond type entryCount(1)
04-22 15:28:33.205 21943-21943/xx.xxx.xxxxxxx.xxxxx.xxxxx W/ResourceType﹕ For resource 0x01030467, entry index(1127) is beyond type entryCount(1)
04-22 15:28:33.205 21943-21943/xx.xxx.xxxxxxx.xxxxx.xxxxx W/ResourceType﹕ For resource 0x01030466, entry index(1126) is beyond type entryCount(1)
04-22 15:28:33.205 21943-21943/xx.xxx.xxxxxxx.xxxxx.xxxxx W/ResourceType﹕ For resource 0x01030465, entry index(1125) is beyond type entryCount(1)
04-22 15:28:33.205 21943-21943/xx.xxx.xxxxxxx.xxxxx.xxxxx W/ResourceType﹕ For resource 0x010301ed, entry index(493) is beyond type entryCount(1)
04-22 15:28:33.205 21943-21943/xx.xxx.xxxxxxx.xxxxx.xxxxx W/ResourceType﹕ For resource 0x0103044b, entry index(1099) is beyond type entryCount(1)
解决方法:
在我的情况下,它是使用Layers应用程序应用的自定义主题
标签:android,android-resources,warnings,logcat 来源: https://codeday.me/bug/20191005/1855690.html