Each part of the code is such
main.xml
android: layout_width = "fill_parent"
android: layout_height = "fill_parent"
android: background = "@ drawable / background"
>
android: layout_height = "wrap_content"
android: text = "@ string / title"
style = "@ style / text"
/>
android: layout_gravity = "center_vertical | center_horizontal"
android: text = "@ string / start"
android: layout_width = "wrap_content"
android: layout_height = "wrap_content"
style = "@ style / text"
/>
stings.xml
styles.xml
Error message is this
[2013-07-27 16:24:29 - xmlui_01] W / ResourceType (7448): Bad XML block: header size 112 or total size 0 is larger than data size 0
[2013-07-27 16:24:29 - xmlui_01] F: \ workmoney \ xmlui_01 \ res \ menu \ main.xml: 3: error: Error: No resource found that matches the given name (at 'title' with value '@ string / action_settings').
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Your string inside a problem, @ string / action_settings see what this thing is?
There you which file prompts you wrong ah
Reply:
I also saw this, I do not know how to change ah, look at the problem seemed to be telling the value of string / title does not define the content, but I have defined in the string, and had no clear idea what the problem is
Reply:
Your res / main.xml has android: title = "@ string / action_settings" such a reference, and your string file does not define action_settings
Reply:
See errors such as the third floor is said
Reply:
I there is no android: title = "@ string / action_settings" The references I use android: text = "@ string / title" and there
Reply:
LZ please clean it. Once your resources where there is a little bit wrong, you can not gen in the code generation, then you will not find all the resources, so please be able to solve the resource where the first error is resolved, and then re-build it again, Some errors may be automatically repaired.
Please provide the following there LZ [2013-07-27 16:24:29 - xmlui_01] W / ResourceType (7448): Bad XML block: header size 112 or total size 0 is larger than data size 0
Where is this wrong, you do not directly give people can understand. Double-click on what you can locate the error to the wrong place
Reply:
Are no error messages, and only run as if the sudden emergence of this issue
Reply:
This is not your run-time errors. One thing you need to know, when you run as background will build, so you this is a compilation error. And if your project has a red cross, that is wrong, it absolutely does not allow you to debug or run the
Reply:
I put my whole package sent to you, you gave me a look, thank you
Reply:
I ordered did not use, is not I use the sdk, avd, eclipse, etc. are the latest reason,
Reply:
no, ah, I was completely done by the book, but that is a mistake, do not understand
Reply:
vipcxj@126.com
You can send to my mailbox
Reply:
I sent you passed, you give it a look, thank you
Reply:
6th Floor approach is about, you can not build the next Baidu.
Reply:
Changing for the better, has been sent
Reply:
Hello, I also began to learn, problems encountered just like you, I ask you finally, how to solve
No comments:
Post a Comment