Android应用程序开发的错误:"坏XML块:头大小60或总大小3932356比数据大小为0&QUOT较大; [英] Android App development error: "Bad XML block: header size 60 or total size 3932356 is larger than data size 0"
问题描述
这是我的第一篇文章,以一个论坛,请原谅任何疏漏。
我检查了其他职位,是相似的,他们推荐的清洁构建路径,
但是这并没有帮助的。
我已经开始Android应用程序开发和我有一个令人沮丧的问题,增加了菜单的活动。
This is my first post to a forum so please forgive any oversights.
I checked other posts that were similar and they recommended to clean the build path,
but that did not help at all.
I have started android app development and am having a frustrating problem with adding a menu to an activity.
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
<item android:id="@+id/save_tea" android:title="@string/save_tea_label" />
</menu>
这将引发坏XML块:头大小60或总大小3932356比数据大小为0较大的在Eclipse控制台中。 我有一个主要的应用程序的活动菜单,它工作正常,但是这个不能 结合到生成的R档。任何想法或建议,将不胜 AP preciated。 提前致谢!
This throws the "Bad XML block: header size 60 or total size 3932356 is larger than data size 0" in the Eclipse console. I have a menu for the main app activity and it works fine, but this one cannot be combined into the R generated file. Any thoughts or recommendations would be greatly appreciated. Thanks in advance!
我改写了一堆我的网页,似乎现在的工作,所以我要么错过了一些原本或月食决定重新评估文件感谢所有帮助
推荐答案
我只是碰到了同样的错误信息。在我的情况下,XML被引用在可绘制文件夹中缺少图标文件。
I just ran into the same error message. In my case, the XML was referencing a missing icon file in the drawables folder.
难道你没有串/ save_tea_label在错误的时间?
Is it possible you did not have string/save_tea_label at the time of the error?
这篇关于Android应用程序开发的错误:&QUOT;坏XML块:头大小60或总大小3932356比数据大小为0&QUOT较大;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!