编译应用程序时出错

时间:2013-03-30 16:16:21

标签: android sdk

我已按照所有步骤创建文件main.xmlstring.xml,但在编译项目时出错。我尝试使用 Shift + Ctrl + O Project -> Clean ......

[03/30/2013 11:24:52 - Asteroid] W / ResourceType (3827): Bad XML block: header size 2270 or total size 148813088 is larger than data size 0
[03/30/2013 11:24:52 - Asteroid] / home / syra / workspace / Asteroid / res / menu / asteroide.xml: 3: error: Error: No resource found That matches the given name (at 'title' with value '@ string / action_settings').

如果有人可以帮助我,我将不胜感激。

1 个答案:

答案 0 :(得分:2)

No resource found That matches the given name (at 'title' with value '@ string / action_settings').

只需打开res/values/strings.xml,然后添加名称为action_settings的元素和相应的文字。

<string name="action_settings">Settings for this action</string>

如果您认为这已存在,请仔细检查两个名称的拼写。