我刚刚去 android 市场发布我的应用程序的更新,并注意到现有安装报告了一些新错误。虽然我可以理解(并尝试做一些事情)其中的大多数,但这个让我相当困惑:
java.lang.StackOverflowError
at android.view.ViewGroup.resetResolvedTextDirection(ViewGroup.java:5131)
at android.view.ViewGroup.resetResolvedTextDirection(ViewGroup.java:5131)
at android.view.ViewGroup.resetResolvedTextDirection(ViewGroup.java:5131)
at android.view.ViewGroup.resetResolvedTextDirection(ViewGroup.java:5131)
at android.view.ViewGroup.resetResolvedTextDirection(ViewGroup.java:5131)
at android.view.ViewGroup.resetResolvedTextDirection(ViewGroup.java:5131)
... this line repeats about 200 times or so ...
这就是全部 - 没有任何其他信息。
我完全不知道从哪里开始调查这个问题。任何想法都将不胜感激。
这似乎是 ICS 中添加的方法,所以它是 4.0 及以上版本。看着the code http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/4.0.1_r1/android/view/ViewGroup.java#ViewGroup.resetResolvedTextDirection%28%29看起来你的层次结构中有某种视图循环,因为它是显然 the child.resetResolvedTextDirection();
行做它。换句话说,你的其中一个ViewGroup
布局中的类以某种方式作为子级添加到其自身的某个位置。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)