android - 无法运行 ActionBarSherlock

标签 android actionbarsherlock

我有一个 2.2 android 项目,我想添加 ActionBarSherlock。 当我运行我的项目时,出现此错误;

C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:4: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionBar'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:6: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionBar.Solid'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:10: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.Solid'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:12: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.Solid.Inverse'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:15: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionBar.TabView'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:17: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabView'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:19: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabView.Inverse'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values\abs__styles.xml:89: error: Error: No resource found that matches the given name: attr 'android:dividerPadding'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values\abs__styles.xml:88: error: Error: No resource found that matches the given name: attr 'android:showDividers'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:22: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionBar.TabBar'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:24: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabBar'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:26: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabBar.Inverse'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values\abs__styles.xml:101: error: Error: No resource found that matches the given name: attr 'android:textAllCaps'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:29: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionBar.TabText'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:31: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabText'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:33: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabText.Inverse'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:36: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionButton'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:38: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionButton'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:41: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionButton.CloseMode'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:43: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionButton.CloseMode'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:46: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionButton.Overflow'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:48: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionButton.Overflow'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:51: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionMode'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:53: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionMode'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:55: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionMode.Inverse'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:58: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.PopupMenu'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:60: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.PopupMenu'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values\abs__styles.xml:184: error: Error: No resource found that matches the given name: attr 'android:dividerPadding'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values\abs__styles.xml:183: error: Error: No resource found that matches the given name: attr 'android:showDividers'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values\abs__styles.xml:214: error: Error: No resource found that matches the given name: attr 'android:spinnerMode'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:63: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Spinner'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:65: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.Spinner'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:68: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ListView.DropDown'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:70: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ListView.DropDown'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:73: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.PopupWindow'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:75: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.PopupWindow'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values\abs__styles.xml:258: error: Error: No resource found that matches the given name: attr 'android:animationResolution'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:78: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ProgressBar'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:80: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ProgressBar'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:83: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ProgressBar.Horizontal'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:85: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ProgressBar.Horizontal'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:88: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.AutoCompleteTextView'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:90: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.AutoCompleteTextView'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values\abs__styles.xml:328: error: Error: No resource found that matches the given name: attr 'android:textAllCaps'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:93: error: Error 
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:117: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.PopupMenu.Large'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:119: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.PopupMenu.Small'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:121: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.PopupMenu.Small'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v11\abs__themes.xml:4: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v11\abs__themes.xml:6: error: Error: No resource found that matches the given name: attr 'android:windowActionBar'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__themes.xml:4: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v11\abs__themes.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Light'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v11\abs__themes.xml:10: error: Error: No resource found that matches the given name: attr 'android:windowActionBar'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__themes.xml:6: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Light'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__themes.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Light.DarkActionBar'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__themes.xml:14: error: Error: No resource found that matches the given name: attr 'android:actionBarWidgetTheme'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__themes.xml:22: error: Error: No resource found that matches the given name: attr 'android:windowActionBar'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__themes.xml:26: error: Error: No resource found that matches the given name: attr 'android:windowActionBar'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values\abs__themes.xml:196: error: Error: No resource found that matches the given name: attr 'android:windowActionBar'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values\abs__themes.xml:197: error: Error: No resource found that matches the given name: attr 'android:windowActionModeOverlay'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values\abs__themes.xml:198: error: Error: No resource found that matches the given name: attr 'android:windowCloseOnTouchOutside'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__themes.xml:30: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Dialog'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values\abs__themes.xml:222: error: Error: No resource found that matches the given name: attr 'android:windowActionBar'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values\abs__themes.xml:223: error: Error: No resource found that matches the given name: attr 'android:windowActionModeOverlay'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values\abs__themes.xml:224: error: Error: No resource found that matches the given name: attr 'android:windowCloseOnTouchOutside'.
[2012-11-09 13:54:53 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__themes.xml:32: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Light.Dialog'.
[2012-11-09 14:05:43 - testApp] Error in an XML file: aborting build.
[2012-11-09 14:05:55 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-
[2012-11-09 14:05:55 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:65: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.Spinner'.
[2012-11-09 14:05:55 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:68: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ListView.DropDown'.
[2012-11-09 14:05:55 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:70: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ListView.DropDown'.
[2012-11-09 14:05:55 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:73: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.PopupWindow'.
[2012-11-09 14:05:55 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:75: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.PopupWindow'.
[2012-11-09 14:05:55 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values\abs__styles.xml:258: error: Error: No resource found that matches the given name: attr 'android:animationResolution'.
[2012-11-09 14:05:55 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:78: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ProgressBar'.
[2012-11-09 14:05:55 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:80: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ProgressBar'.
[2012-11-09 14:05:55 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:83: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ProgressBar.Horizontal'.
[2012-11-09 14:05:55 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:85: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ProgressBar.Horizontal'.
[2012-11-09 14:05:55 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:88: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.AutoCompleteTextView'.
[2012-11-09 14:05:55 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:90: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.AutoCompleteTextView'.
[2012-11-09 14:05:55 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values\abs__styles.xml:328: error: Error: No resource found that matches the given name: attr 'android:textAllCaps'.
[2012-11-09 14:05:55 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:93: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionBar.Menu'.
[2012-11-09 14:05:55 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:96: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionBar.Title'.
[2012-11-09 14:05:55 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:98: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionBar.Title.Inverse'.
[2012-11-09 14:05:55 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:100: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionBar.Subtitle'.
[2012-11-09 14:05:55 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:102: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionBar.Subtitle.Inverse'.
[2012-11-09 14:05:55 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:104: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionMode.Title'.
[2012-11-09 14:05:55 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:106: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionMode.Title.Inverse'.
[2012-11-09 14:05:55 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:108: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionMode.Subtitle'.
[2012-11-09 14:05:55 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:110: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionMode.Subtitle.Inverse'.
[2012-11-09 14:05:55 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:113: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.PopupMenu'.
[2012-11-09 14:05:55 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:115: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.PopupMenu.Large'.
[2012-11-09 14:05:55 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:117: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.PopupMenu.Large'.
[2012-11-09 14:05:55 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:119: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.PopupMenu.Small'.
[2012-11-09 14:05:55 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__styles.xml:121: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.PopupMenu.Small'.
[2012-11-09 14:05:55 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v11\abs__themes.xml:4: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo'.
[2012-11-09 14:05:55 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v11\abs__themes.xml:6: error: Error: No resource found that matches the given name: attr 'android:windowActionBar'.
[2012-11-09 14:05:55 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__themes.xml:4: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo'.
[2012-11-09 14:05:55 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v11\abs__themes.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Light'.
[2012-11-09 14:05:55 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v11\abs__themes.xml:10: error: Error: No resource found that matches the given name: attr 'android:windowActionBar'.
[2012-11-09 14:05:55 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__themes.xml:6: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Light'.
[2012-11-09 14:05:55 - testApp] C:\Users\vitaly\Downloads\ActionBarSherlock-4.2.0\ActionBarSherlock-4.2.0\library\res\values-v14\abs__themes.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Light.DarkActionBar'.

找到与给定名称“android:Theme.Holo.Light.Dialog”相匹配的来源。 [2012-11-09 14:11:12 - testApp] XML 文件中的错误:中止构建。 [2012-11-09 14:20:55 - testApp] XML 文件中的错误:中止构建。

和 xml fragment_sample.xml 的错误问题

Multiple annotations found at this line:
    - Element type "xmlns:android" must be followed by either attribute specifications, ">" 
     or "/>".
    - Attribute is missing the Android namespace prefix :

fragment_sample.xml 是

<?xml version="1.0" encoding="utf-8"?>
<xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent">
<android:name="com.test.sherlock.SherlockSimpleFragment"
android:id="@+id/list" android:layout_weight="1" android:layout_width="match_parent"
android:layout_height="match_parent" />

非常感谢你的帮助

最佳答案

当您在项目中使用操作栏 Sherlock 时,请确保

第一步:

您正在构建一个 android 版本 4.0 或更高版本的项目。要检查您是否正在构建 4.0 或更高版本,请转到, 属性 -> android -> 检查项目构建路径到 4.0 或更高版本。

第 2 步:

清理你的项目

这应该可以解决您的问题。

关于android - 无法运行 ActionBarSherlock,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13308127/

相关文章:

javascript - Angular2 应用程序在 Android Webview 上的加载时间

Android ActionBarSherlock 顶部栏

android - 从 fragment 创建操作栏选项卡

android - 是否可以执行 Action "unclickable"?

android - 在自定义 View 中显示 Action 的 Toast

android - 使用多个进程的应用程序是否共享一个 Dalvik 实例?

javascript - 如何用addEventListener替换@click,让addEventListener像@click一样灵活?

android - 获取没有键盘尺寸的屏幕尺寸

java - 如何在android中解析JSONArray

android - 将 ActionBarSherlock 与 Google map API V2 结合使用