我在appcompat_v7文件夹中有很多错误

时间:2014-12-14 13:00:16

标签: android eclipse

我对Android开发非常新,并且只要我创建了我的第一个应用程序 我在此路径 workspace \ appcompat_v7 \ res 上遇到了很多问题(错误),特别是在 workspace \ appcompat_v7 \ res \ values -... \ styles_base.xml 和< strong> workspace \ appcompat_v7 \ res \ values -... \ styles_rtl.xml 以及 workspace \ appcompat_v7 \ bin \ appcompat_v7.jar中的另一个错误

这是我的一些控制台错误

[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v21\styles_base.xml:143: error: Error: No resource found that matches the given name: attr 'android:overlapAnchor'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v17\styles_rtl.xml:20: error: Error: No resource found that matches the given name: attr 'android:layout_marginStart'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v17\styles_rtl.xml:25: error: Error: No resource found that matches the given name: attr 'android:paddingEnd'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v17\styles_rtl.xml:24: error: Error: No resource found that matches the given name: attr 'android:paddingStart'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v17\styles_rtl.xml:29: error: Error: No resource found that matches the given name: attr 'android:layout_alignParentEnd'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v17\styles_rtl.xml:33: error: Error: No resource found that matches the given name: attr 'android:layout_alignParentStart'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v17\styles_rtl.xml:37: error: Error: No resource found that matches the given name: attr 'android:layout_toStartOf'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v17\styles_rtl.xml:42: error: Error: No resource found that matches the given name: attr 'android:layout_toEndOf'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v17\styles_rtl.xml:41: error: Error: No resource found that matches the given name: attr 'android:layout_toStartOf'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v17\styles_rtl.xml:47: error: Error: No resource found that matches the given name: attr 'android:paddingEnd'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v17\styles_rtl.xml:52: error: Error: No resource found that matches the given name: attr 'android:layout_marginEnd'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v17\styles_rtl.xml:51: error: Error: No resource found that matches the given name: attr 'android:paddingStart'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v17\styles_rtl.xml:57: error: Error: No resource found that matches the given name: attr 'android:paddingEnd'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v17\styles_rtl.xml:56: error: Error: No resource found that matches the given name: attr 'android:paddingStart'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v17\styles_rtl.xml:61: error: Error: No resource found that matches the given name: attr 'android:paddingEnd'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v17\styles_rtl.xml:65: error: Error: No resource found that matches the given name: attr 'android:layout_marginStart'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v17\styles_rtl.xml:69: error: Error: No resource found that matches the given name: attr 'android:layout_alignParentStart'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v17\styles_rtl.xml:70: error: Error: No resource found that matches the given name: attr 'android:textAlignment'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v11\themes_base.xml:338: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v14\themes_base.xml:29: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v11\themes_base.xml:345: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v14\themes_base.xml:37: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v11\themes_base.xml:352: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v14\themes_base.xml:45: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v11\themes_base.xml:359: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v14\themes_base.xml:53: error: Error: No resource found that matches the given name: attr 'android:actionModeShareDrawable'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\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-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v21\themes_base.xml:81: error: Error: No resource found that matches the given name: attr 'android:colorAccent'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v21\themes_base.xml:83: error: Error: No resource found that matches the given name: attr 'android:colorControlActivated'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v21\themes_base.xml:84: error: Error: No resource found that matches the given name: attr 'android:colorControlHighlight'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v21\themes_base.xml:82: error: Error: No resource found that matches the given name: attr 'android:colorControlNormal'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v21\themes_base.xml:79: error: Error: No resource found that matches the given name: attr 'android:colorPrimary'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v21\themes_base.xml:80: error: Error: No resource found that matches the given name: attr 'android:colorPrimaryDark'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v21\themes_base.xml:118: error: Error: No resource found that matches the given name: attr 'android:colorAccent'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v21\themes_base.xml:120: error: Error: No resource found that matches the given name: attr 'android:colorControlActivated'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v21\themes_base.xml:121: error: Error: No resource found that matches the given name: attr 'android:colorControlHighlight'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v21\themes_base.xml:119: error: Error: No resource found that matches the given name: attr 'android:colorControlNormal'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v21\themes_base.xml:116: error: Error: No resource found that matches the given name: attr 'android:colorPrimary'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v21\themes_base.xml:117: error: Error: No resource found that matches the given name: attr 'android:colorPrimaryDark'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v21\themes_base.xml:155: error: Error: No resource found that matches the given name: attr 'android:colorAccent'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v21\themes_base.xml:157: error: Error: No resource found that matches the given name: attr 'android:colorControlActivated'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v21\themes_base.xml:158: error: Error: No resource found that matches the given name: attr 'android:colorControlHighlight'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v21\themes_base.xml:156: error: Error: No resource found that matches the given name: attr 'android:colorControlNormal'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v21\themes_base.xml:153: error: Error: No resource found that matches the given name: attr 'android:colorPrimary'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v21\themes_base.xml:154: error: Error: No resource found that matches the given name: attr 'android:colorPrimaryDark'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v21\themes_base.xml:192: error: Error: No resource found that matches the given name: attr 'android:colorAccent'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v21\themes_base.xml:194: error: Error: No resource found that matches the given name: attr 'android:colorControlActivated'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v21\themes_base.xml:195: error: Error: No resource found that matches the given name: attr 'android:colorControlHighlight'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v21\themes_base.xml:193: error: Error: No resource found that matches the given name: attr 'android:colorControlNormal'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v21\themes_base.xml:190: error: Error: No resource found that matches the given name: attr 'android:colorPrimary'.
[2014-12-14 12:17:06 - appcompat_v7] 
[2014-12-14 12:17:06 - appcompat_v7] C:\Users\Zakaria Sbaiy\workspace\appcompat_v7\res\values-v21\themes_base.xml:191: error: Error: No resource found that matches the given name: attr 'android:colorPrimaryDark'.
[2014-12-14 12:17:06 - appcompat_v7] 

并且eclipse说在构建路径错误解决之前无法构建项目,我尝试一个接一个地修复这个错误但没有用,这就是为什么我现在要锁定一个方法来改变这个 appcompat_v7 文件夹完全带有干净的文件夹,因此不会再出现错误。

这可能吗?

1 个答案:

答案 0 :(得分:4)

如果您已编辑各种/ res文件但无法记住如何返回原始文件,则使用干净支持库再次启动的唯一方法是使用SDK Manager。

启动SDK Manager并向下滚动到“Extras”并选择“Support Library”,然后单击“Uninstall 1 package”按钮。让它卸载然后关闭SDK Manager和eclipse。重新启动eclipse并返回SDK Manager并重新安装支持库。

要防止/ res中的错误,请右键单击appcompat_v7项目并选择Properties,然后选择Android并将目标更改为API 21,然后单击OK。

您可能需要清理和构建库项目。要做到这一点,选择它然后转到eclipse中的Project菜单 - 应该有一个Clean选项。如果您设置了“自动构建”选项,那么它将为您执行此操作。如果您没有设置该选项,则“清理”弹出窗口将为您提供在项目清理后执行此操作的选项。