Reputation: 53
Can you tell me why there is an error on each string line?
<string> name="app_name">Bootle JFL</string>
<string> name="hello_world">Hello world</string>
<string> name="action_settings">Settings</string>
Upvotes: 2
Views: 44
Reputation: 133580
Change to
<string name="app_name">Bootle JFL</string>
<string name="hello_world">Hello world</string>
<string name="action_settings">Settings</string>
name
is the attribute for the tag string and attribute must be within the string tag.
Read
http://developer.android.com/guide/topics/resources/string-resource.html
Upvotes: 2
Reputation: 161
you have 2 closing > should be like
<string name="app_name">Bootle JFL</string>
Upvotes: 0
Reputation: 157487
you closed the string tag too earlier
<string name="app_name"> Bootle JFL</string>
for all the strings,
Upvotes: 2