Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

'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

like image 713
StuStirling Avatar asked Oct 15 '12 14:10

StuStirling


1 Answers

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.

like image 199
onosendai Avatar answered Oct 29 '22 02:10

onosendai