XML Layout - Entry Identifier 0x11a is larger than entry count 0xb2

好久不见. 提交于 2019-12-22 05:35:34

问题


'Entry Identifier 0x11a is larger than entry count 0xb2'

This is what's printed in my LogCat when switching to a specific fragment.

I think it may have something to do with my 'xml layout' resource being inflated. I am not sure what though.

My Question

Has anybody else had this problem or know what it means?

Thanks for your help


回答1:


I've encountered this problem and worked around it with a hack. I added an empty style at the top of my styles.xml:

<style name="empty_style" />

According to this discussion on Google Groups the error occurs

...when HistoryRecord over in the framework is trying to read the theme defined in your resources. There isn't anything wrong with the code [...]. In fact, if you fiddle around with the ordering in your styles.xml, usually adding a few empty blocks near the top, might help get around this temporarily.

I can't say if the cause quoted above is real, but it removed the issue for me. Hope this helps.



来源:https://stackoverflow.com/questions/12897871/xml-layout-entry-identifier-0x11a-is-larger-than-entry-count-0xb2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!