Je suis un néophyte qui vient de me lancer dans Android. Je passe par le "Building your first app
"tutoriel sur la page officielle du développeur Android. J'ai suivi toutes les instructions mais il me montre ce code d'erreur dans Eclipse. Le message d'erreur est très long et je suppose qu'il doit y avoir quelque chose qui ne va pas dans mon paramètre, SDK ou environnement. Quelqu'un peut-il m'aider à résoudre ce problème? Pour votre information, mon SDK cible est API19
et je le compile également avec API19
[2014-10-22 17:13:51 - appcompat_v7] WARNING: unable to write jarlist cache file C:\Users\Cliff\workspace\appcompat_v7\bin\jarlist.cache
[2014-10-22 17:13:51 - appcompat_v7] WARNING: unable to write jarlist cache file C:\Users\Cliff\workspace\appcompat_v7\bin\jarlist.cache
[2014-10-22 17:13:51 - appcompat_v7] WARNING: unable to write jarlist cache file C:\Users\Cliff\workspace\appcompat_v7\bin\jarlist.cache
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_base.xml:138: error: Error: No resource found that matches the given name: attr 'Android:overlapAnchor'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_base.xml:143: error: Error: No resource found that matches the given name: attr 'Android:overlapAnchor'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_base_text.xml:34: error: Error retrieving parent for item: No resource found that matches the given name 'Android:TextAppearance.Material.Subhead'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_base_text.xml:36: error: Error retrieving parent for item: No resource found that matches the given name 'Android:TextAppearance.Material.Body2'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_base_text.xml:38: error: Error retrieving parent for item: No resource found that matches the given name 'Android:TextAppearance.Material.Body1'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_base_text.xml:40: error: Error retrieving parent for item: No resource found that matches the given name 'Android:TextAppearance.Material.Caption'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_base_text.xml:42: error: Error retrieving parent for item: No resource found that matches the given name 'Android:TextAppearance.Material.Menu'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_base_text.xml:60: 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:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_base_text.xml:46: error: Error retrieving parent for item: No resource found that matches the given name 'Android:TextAppearance.Material.Inverse'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_base_text.xml:48: error: Error retrieving parent for item: No resource found that matches the given name 'Android:TextAppearance.Material.Large'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_base_text.xml:50: error: Error retrieving parent for item: No resource found that matches the given name 'Android:TextAppearance.Material.Large.Inverse'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_base_text.xml:52: error: Error retrieving parent for item: No resource found that matches the given name 'Android:TextAppearance.Material.Medium'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_base_text.xml:54: error: Error retrieving parent for item: No resource found that matches the given name 'Android:TextAppearance.Material.Medium.Inverse'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_base_text.xml:56: error: Error retrieving parent for item: No resource found that matches the given name 'Android:TextAppearance.Material.Small'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_base_text.xml:58: error: Error retrieving parent for item: No resource found that matches the given name 'Android:TextAppearance.Material.Small.Inverse'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\themes_base.xml:26: error: Error retrieving parent for item: No resource found that matches the given name 'Android:Theme.Material'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\themes_base.xml:31: error: Error retrieving parent for item: No resource found that matches the given name 'Android:Theme.Material.Light'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\themes_base.xml:36: error: Error retrieving parent for item: No resource found that matches the given name 'Android:Theme.Material.Dialog'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\themes_base.xml:41: error: Error retrieving parent for item: No resource found that matches the given name 'Android:Theme.Material.Light.Dialog'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v11\themes_base.xml:338: error: Error: No resource found that matches the given name: attr 'Android:actionModeShareDrawable'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v14\themes_base.xml:29: error: Error: No resource found that matches the given name: attr 'Android:actionModeShareDrawable'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v11\themes_base.xml:345: error: Error: No resource found that matches the given name: attr 'Android:actionModeShareDrawable'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v14\themes_base.xml:37: error: Error: No resource found that matches the given name: attr 'Android:actionModeShareDrawable'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v11\themes_base.xml:352: error: Error: No resource found that matches the given name: attr 'Android:actionModeShareDrawable'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v14\themes_base.xml:45: error: Error: No resource found that matches the given name: attr 'Android:actionModeShareDrawable'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v11\themes_base.xml:359: error: Error: No resource found that matches the given name: attr 'Android:actionModeShareDrawable'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v14\themes_base.xml:53: error: Error: No resource found that matches the given name: attr 'Android:actionModeShareDrawable'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\themes_base.xml:202: error: Error retrieving parent for item: No resource found that matches the given name 'Android:ThemeOverlay.Material'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\themes_base.xml:212: error: Error retrieving parent for item: No resource found that matches the given name 'Android:ThemeOverlay.Material.Light'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\themes_base.xml:205: error: Error retrieving parent for item: No resource found that matches the given name 'Android:ThemeOverlay.Material.Dark'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\themes_base.xml:219: error: Error retrieving parent for item: No resource found that matches the given name 'Android:ThemeOverlay.Material.ActionBar'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\themes_base.xml:223: error: Error retrieving parent for item: No resource found that matches the given name 'Android:ThemeOverlay.Material.Dark.ActionBar'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\themes_base.xml:81: error: Error: No resource found that matches the given name: attr 'Android:colorAccent'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\themes_base.xml:83: error: Error: No resource found that matches the given name: attr 'Android:colorControlActivated'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\themes_base.xml:84: error: Error: No resource found that matches the given name: attr 'Android:colorControlHighlight'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\themes_base.xml:82: error: Error: No resource found that matches the given name: attr 'Android:colorControlNormal'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\themes_base.xml:79: error: Error: No resource found that matches the given name: attr 'Android:colorPrimary'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\themes_base.xml:80: error: Error: No resource found that matches the given name: attr 'Android:colorPrimaryDark'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\themes_base.xml:118: error: Error: No resource found that matches the given name: attr 'Android:colorAccent'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\themes_base.xml:120: error: Error: No resource found that matches the given name: attr 'Android:colorControlActivated'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\themes_base.xml:121: error: Error: No resource found that matches the given name: attr 'Android:colorControlHighlight'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\themes_base.xml:119: error: Error: No resource found that matches the given name: attr 'Android:colorControlNormal'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\themes_base.xml:116: error: Error: No resource found that matches the given name: attr 'Android:colorPrimary'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\themes_base.xml:117: error: Error: No resource found that matches the given name: attr 'Android:colorPrimaryDark'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\themes_base.xml:155: error: Error: No resource found that matches the given name: attr 'Android:colorAccent'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\themes_base.xml:157: error: Error: No resource found that matches the given name: attr 'Android:colorControlActivated'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\themes_base.xml:158: error: Error: No resource found that matches the given name: attr 'Android:colorControlHighlight'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\themes_base.xml:156: error: Error: No resource found that matches the given name: attr 'Android:colorControlNormal'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\themes_base.xml:153: error: Error: No resource found that matches the given name: attr 'Android:colorPrimary'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\themes_base.xml:154: error: Error: No resource found that matches the given name: attr 'Android:colorPrimaryDark'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\themes_base.xml:192: error: Error: No resource found that matches the given name: attr 'Android:colorAccent'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\themes_base.xml:194: error: Error: No resource found that matches the given name: attr 'Android:colorControlActivated'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\themes_base.xml:195: error: Error: No resource found that matches the given name: attr 'Android:colorControlHighlight'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\themes_base.xml:193: error: Error: No resource found that matches the given name: attr 'Android:colorControlNormal'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\themes_base.xml:190: error: Error: No resource found that matches the given name: attr 'Android:colorPrimary'.
[2014-10-22 17:13:53 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\themes_base.xml:191: error: Error: No resource found that matches the given name: attr 'Android:colorPrimaryDark'.
[2014-10-22 17:13:57 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:57 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:57 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:57 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:57 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:57 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:57 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:57 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:57 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:57 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:57 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:57 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:57 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:57 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:57 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:57 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:57 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:57 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_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:57 - MyFirstApp] C:\Users\Cliff\workspace\appcompat_v7\res\values-v21\styles_base.xml:115: error: Error retrieving parent for item: No resource found that matches the given name 'Android:Widget.Material.Spinner'.
.
.
.
.
Pour votre information, mon SDK cible est API19 et je le compile également avec API19
Utilisez API21 (ou supérieur) pour la cible et la compilation.
L'API 19 ne connaît pas les éléments matériels manquants.
Pour ce faire avec Eclipse, définissez votre propre projet sur la cible API21 (ou supérieure): ouvrez Propriétés du projet et dans le volet Android, spécifiez Project Build Tagret comme API21 (ou supérieur). Lorsque Project Build Tagret de votre propre projet est inférieur à 21, des erreurs dans la question apparaissent. Nettoyez et reconstruisez votre propre projet une fois modifié son Project Build Tagret.
J'ai trouvé la source du problème, lorsque nous créons un nouveau projet, il contient la référence du appcompat_v7
bibliothèque:
le appcompat_v7
la bibliothèque contient déjà la bibliothèque de support "Android-support-v4.jar
"
le problème est que le nouveau projet créé contient dans le /libs
dossier, la bibliothèque "Android-support-v4.jar
"aussi !, supprimez simplement ce .jar de votre nouveau projet (qui est déjà contenu dans le appcompat_v7
bibliothèque)
n'oubliez pas de clean and build your project
Ce problème se produit en utilisant l'API 19, utilisez l'API 21 ou une version ultérieure
Cela est dû à la relation entre Eclipse et SDK sur le projet de bibliothèque "appcompact_v7" .
Lorsque nous créons un nouveau projet d'application Android , Eclipse essaie d'ajouter un projet de bibliothèque (appcompact_v7) pour lui.Si nous créons notre projet avec cible 19 (API 19) , Eclipse générera également le projet de bibliothèque appcompact_v7 avec API 19 . Lorsque nous nettoyons et construisons l'application, nous avons eu une erreur comme suit:
....\appcompat_v7\res\values-v21\styles_base.xml:75: error: Error retrieving parent for item: No resource found that matches the given name 'Android:Widget.Material.ActionButton'.
....\appcompat_v7\res\values-v21\styles_base.xml:79: error: Error retrieving parent for item: No resource found that matches the given name 'Android:Widget.Material.ActionButton.CloseMode'.
....\appcompat_v7\res\values-v21\styles_base.xml:83: error: Error retrieving parent for item: No resource found that matches the given name 'Android:Widget.Material.ActionButton.Overflow'.
....\appcompat_v7\res\values-v21\styles_base.xml:25: error: Error retrieving parent for item: No resource found that matches the given name 'Android:Widget.Material.ActionBar.TabView'.
....\appcompat_v7\res\values-v21\styles_base.xml:29: error: Error retrieving parent for item: No resource found that matches the given name 'Android:Widget.Material.Light.ActionBar.TabView'.
Pourquoi? Parce que quand Eclipse crée appcompact_v7, il récupère toutes les références pour chaque version du SDK depuis votre gestionnaire de SDK . Ainsi, dans appcompact_v7 , il y aura une référence pour le SDK qui est supérieur à l'API 19.
Ok, vérifiez cette partie dans le journal: appcompat_v7\res\values-v21\styles_base.xml:75
. Cela montré, il ne peut pas compiler de référence pour values-v21
(signifie cible 21 (API 21)). Par conséquent, il a montré une erreur comme ça.
Alors, ce que nous devons faire. Nous devons faire est, la cible de compilation pour le projet appcompact_v7 doit toujours être la dernière API du SDK associé .
J'ai également trouvé cette erreur car ma dernière version est API 23 et je la compile avec API 22 . Donc, j'ai eu cette erreur:
....\appcompat_v7\res\values-v23\styles_base.xml:20: error: Error retrieving parent for item: No resource found that matches the given name 'Android:Widget.Material.Button.Colored'.
....\appcompat_v7\res\values-v23\styles_base_text.xml:19: error: Error retrieving parent for item: No resource found that matches the given name 'Android:TextAppearance.Material.Widget.Button.Inverse'.
Donc, je change la cible Android cible dans project.properties
de appcompact_v7 au plus tard comme suit:
Aussi dans project.properties
du projet comme suit:
Après cela, je nettoie et compile le projet. Il n'a montré aucune erreur.
Vous verrez l'erreur sur values-v21, il est dit que vous n'avez pas installé Android API21. Si vous installez Android API21, l'erreur disparaîtra automatiquement.
Mettez à jour le fichier project.properties de appcompat v7, qui a: target=Android-19
à target=Android-21
Mettez également à jour google play services
bibliothèque
Une autre chose que vous pouvez essayer est d'ouvrir le fichier project.properties d'Android-support-v7-appcompat et de changer la cible cible = Android-21 (dernière). Ensuite, faites juste un Projet -> Nettoyer ... pour que les changements prennent effet.
Dans mon cas, je résous ce problème en suivant quatre étapes:
1) clic droit sur appcompat_v7 bibliothèque
2) aller aux propriétés
3) sélectionnez Android
4) fixer un objectif supérieur à 19 api puis appliquer et ok
Enfin, cette erreur a été supprimée.
Voyez si cela aide: