Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
311 views
in Technique[技术] by (71.8m points)

java - Hello World Android App, Error: workspaceappcompat_v7 esvalues-v21styles_base.xml No resource found that matches the given name

I am a totally newbie who just got into Android development. I am going through the "Building your first app" tutorial on the official Android developer webpage. I followed all the instruction but it shows me this error code in Eclipse. The error message is real long and I guess there must be something wrong in my setting, SDK, or environment. Can anybody help me out in resolving this problem? For your information, my target SDK is API19 and I am also compiling it with API19

[2014-10-22 17:13:51 - appcompat_v7] WARNING: unable to write jarlist cache file C:UsersCliffworkspaceappcompat_v7injarlist.cache
[2014-10-22 17:13:51 - appcompat_v7] WARNING: unable to write jarlist cache file C:UsersCliffworkspaceappcompat_v7injarlist.cache
[2014-10-22 17:13:51 - appcompat_v7] WARNING: unable to write jarlist cache file C:UsersCliffworkspaceappcompat_v7injarlist.cache
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base.xml:75: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base.xml:79: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton.CloseMode'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base.xml:83: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton.Overflow'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base.xml:25: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionBar.TabView'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base.xml:29: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.ActionBar.TabView'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base.xml:33: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionBar.TabText'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base.xml:37: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.ActionBar.TabText'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base.xml:41: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.ActionBar.TabText'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base.xml:65: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionMode.Title'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base.xml:69: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionMode.Subtitle'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base.xml:45: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Menu'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base.xml:49: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Title'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base.xml:53: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Subtitle'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base.xml:57: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Title.Inverse'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base.xml:61: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Subtitle.Inverse'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base.xml:178: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ProgressBar.Horizontal'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base.xml:182: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ProgressBar'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base.xml:113: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Spinner'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base.xml:115: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Spinner'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base.xml:110: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.DropDownItem.Spinner'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base.xml:107: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ListView.DropDown'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base.xml:121: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ListView'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base.xml:126: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ListPopupWindow'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base.xml:138: error: Error: No resource found that matches the given name: attr 'android:overlapAnchor'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base.xml:143: error: Error: No resource found that matches the given name: attr 'android:overlapAnchor'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base.xml:129: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.PopupMenu'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base.xml:132: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.PopupMenu'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base.xml:146: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.PopupMenu.Large'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base.xml:150: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.PopupMenu.Small'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base.xml:154: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.PopupMenu.Large'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base.xml:158: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.PopupMenu.Small'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base.xml:164: error: Error retrieving parent for item: No resource found that matches the given name '@android:TextAppearance.Material.SearchResult.Title'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base.xml:168: error: Error retrieving parent for item: No resource found that matches the given name '@android:TextAppearance.Material.SearchResult.Subtitle'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base.xml:172: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.AutoCompleteTextView'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base.xml:174: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.AutoCompleteTextView'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base.xml:93: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Toolbar.Button.Navigation'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base.xml:97: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Title'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base.xml:101: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Subtitle'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base_text.xml:62: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Button'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base_text.xml:20: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base_text.xml:22: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Display4'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base_text.xml:24: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Display3'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base_text.xml:26: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Display2'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base_text.xml:28: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Display1'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base_text.xml:30: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Headline'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat_v7
esvalues-v21styles_base_text.xml:32: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Title'.
[2014-10-22 17:13:53 - MyFirstApp] C:UsersCliffworkspaceappcompat

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

For your information, my target SDK is API19 and I am also compiling it with API19

Use API21 (or greater) for target and compile.

API 19 does no know the material stuff that is missing.

To do this with Eclipse, set your own project to target API21 (or greater): open Project Properties and in the Android pane, specify Project Build Tagret as API21 (or greater). When Project Build Tagret of your own project is below 21, errors in the question appear. Clean and re-build your own project when modified its Project Build Tagret.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...