gpt4 book ai didi

android - XML 布局 - 条目标识符 0x11a 大于条目计数 0xb2

转载 作者:塔克拉玛干 更新时间:2023-11-02 21:17:50 24 4
gpt4 key购买 nike

'条目标识符 0x11a 大于条目计数 0xb2'

这是切换到特定 fragment 时我的 LogCat 中打印的内容。

我认为这可能与我的“xml 布局”资源膨胀有关。我不确定是什么。

我的问题

有没有其他人遇到过这个问题或者知道这意味着什么?

谢谢你的帮助

最佳答案

我遇到过这个问题并通过 hack 解决了它。我在 styles.xml 的顶部添加了一个空样式:

<style name="empty_style" />

根据 this在 Google Groups 上讨论错误发生

...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.

我不能说上面引用的原因是否真实,但它为我解决了这个问题。希望这可以帮助。

关于android - XML 布局 - 条目标识符 0x11a 大于条目计数 0xb2,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12897871/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com