无法运行 ActionBarSherlock

2024-06-26

我有一个 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 文件中出现错误:正在中止构建。

和 xmlfragment_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 时,请确保,

Step 1:

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

Step 2:

清理你的项目

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

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

无法运行 ActionBarSherlock 的相关文章

随机推荐

  • 使用 CSS 修复自定义字体行高

    在我正在开发的新网络应用程序上使用自定义字体时 我遇到了一个奇怪的问题 这种自定义字体 FF DIN 似乎具有自然垂直的偏离中心的行高 这迫使我放置一些顶部填充黑客来补偿按钮和输入等元素的顶部空间 示例 绿色字体 Helvetica Neu
  • 如何在Eclipse调试器中查看崩溃原因

    按照这个 Android 教程 http developer android com resources tutorials hello world html http developer android com resources tut
  • 如何使用PNGJS库从rgb矩阵创建png?

    我无法从此处的文档创建 PNG 文件 编码 https github com niegowski node pngjs https github com niegowski node pngjs 该文档提供了有关操作现有 PNG 的示例 为
  • Intent.putExtra列表[重复]

    这个问题在这里已经有答案了 可能的重复 如何将列表放入意图中 https stackoverflow com questions 6541088 how to put a list in intent 我想通过一个List从一项活动转移到另
  • 用于 Javascript、HTML 和 CSS 网站的 Visual Studio 项目,具有调试功能

    我正在网络浏览器中开发一个基于纯前端的应用程序 我使用的是 Javascript jQuery Knockout HTML CSS 引导程序 所以没有后端 没有必要 在这方面 我在 Visual Studio 中找不到合适的项目模板 截至
  • 使用外部复合 jQuery 模板

    受到这 2 篇博客文章的启发后 我想尝试一下 jQuery 模板 http encosia com 2010 11 10 composition with jquery templates why and how http encosia
  • Python DataFrame:将一列转置为多列

    我有一个如下所示的数据框 df pd DataFrame month 2017 09 27 2017 09 27 2017 09 28 2017 09 29 Cost 100 500 200 300 我怎样才能得到这样的 df 2017 0
  • CSS 字体不起作用

    我正在尝试向我的网站添加自定义字体 我尝试了很多事情但没有成功 这是我的CSS代码 font face font family myFirstFont src url ellis ttf body margin 0 padding 0 wi
  • 从 size_t 或 uintptr_t 来回转换指针是否会破坏严格别名?

    我建议对一个库进行更改 其公共 API 目前如下所示 typedef size t enh handle int en open enh handle struct internal e malloc handle enh e return
  • Swift - 向每个页面添加相同的导航栏项目

    我正在尝试将相同的导航栏项目添加到应用程序中的每个选项卡 我目前已在我的 homeController 中正确设置了它们 但我想将代码移动到一个单独的文件中 并在我想要的任何地方远程实现它 例如 在导航栏左侧添加一个 搜索 图标 而不必在每
  • docker dynamodb -sharedDb 选项

    我正在尝试使用官方在本地主机上启动 dynamodbrepo https hub docker com r amazon dynamodb local 我尝试了以下方法 docker run p 8000 8000 amazon dynam
  • Fileupload 和 PrettyFaces 以及 JSF 2.2 [重复]

    这个问题在这里已经有答案了 我已经尝试过以下解决方案 Primefaces FileUpload 与 PrettyFaces 和 JSF 2 2 3 https stackoverflow com questions 20492015 pr
  • Git:从远程获取特定对象

    在工作中我们必须应对一个非常庞大的 git 存储库 90Go 在尝试调整本地副本上的一些内容后 我的包文件出现错误 尝试解压它 我可能删除了一些目标文件 例如 gt git GC 错误 无法读取 af9ed8 snip 致命 坏树对象 af
  • jQuery Ajax 返回 404 错误,但响应正确

    我通过 jQuery AJAX 将一些数据发布到 PHP 脚本 一切都正确执行 但它返回 404 错误 在我的 Firebug 控制台中 PHP 脚本的响应是正确的 我不明白脚本如何响应 它仍然抛出 404 错误 jQuery 错误 回调方
  • 如何获取发送的 PHP 卷曲请求的信息

    我正在尝试调试对 Web 服务 getToken 端点的curl 请求 我不能 100 确信 URL 和身份验证信息已正确写入curl 句柄 我正在尝试使用curl getinfo ch CURLINFO HEADER OUT 捕获发送的请
  • 为seaborn lmplot添加文本注释

    我正在尝试为聚类结果创建seaborn lmplot 数据示例如下所示 ID CA IP clusters 38 10 3 5 6 1 59 10 4 6 1 0 64 10 0 6 6 1 35 10 6 5 6 1 54 10 6 5
  • node-express app.get() 在 webstorm 中标记为未解决

    如果您关注 JetBrainsWebStorm 中的 Node js 入门 http blog jetbrains com webstorm 2014 01 getting started with node js in webstorm
  • 安装 mysql2 时出错:无法构建 gem 本机扩展

    我在尝试安装时遇到一些问题mysql2Rails 的宝石 当我尝试通过运行安装它时bundle install or gem install mysql2它给了我以下错误 安装 mysql2 时出错 错误 无法构建 gem 本机扩展 我该如
  • 如何在没有 sudo 的情况下安装 gem

    在我所有的 gem 安装中 我必须执行 sudo 所以 sudo gem 安装rails 会起作用 而只有 宝石安装导轨 不管用 我该如何补救 我安装了rvm murtaza murtaza dev which rvm home murta
  • 无法运行 ActionBarSherlock

    我有一个 2 2 android 项目 我想添加 ActionBarSherlock 当我运行我的项目时 我收到此错误 C Users vitaly Downloads ActionBarSherlock 4 2 0 ActionBarSh