2012-11-09 4 views
5

J'ai un projet Android 2.2 que je veux ajouter le ActionBarSherlock. Lorsque j'exécute mon projet, j'obtiens cette erreur;impossible d'exécuter 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'. 

source trouvée correspondant au prénom 'android: Theme.Holo.Light.Dialog'. [2012-11-09 14:11:12 - testApp] Erreur dans un fichier XML: abandon de la génération. [2012-11-09 14:20:55 - testApp] Erreur dans un fichier XML: abandon de la génération.

et problème avec xml fragment_sample.xml l'erreur

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 : 

et fragment_sample.xml est

<?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" /> 

Merci beaucoup pour l'aide

Répondre

2

Vous essayez probablement de construire le projet avec la mauvaise version du SDK Android. Essayez de le construire avec 4.1 (API lvl 16). Vous pouvez le modifier dans Eclipse dans les propriétés du projet -> onglet Android.

+0

de changement ok, mais ce ne va pas avec XML? –

9

Lorsque vous utilisez la barre d'action Sherlock dans votre projet assurez-vous que,

Étape 1:

vous êtes construction d'un projet qui est une version Android 4.0 ou version ultérieure. Pour vérifier si vous construisez 4.0 ou plus tard goto, propriétés -> android -> vérifier le chemin de construction du projet à 4.0 ou versions ultérieures.

Étape 2:

Nettoyez votre projet

Cela devrait résoudre votre problème.

+0

Vous ne pouvez pas nettoyer votre projet dans Android Studio. C'était seulement une fonctionnalité dans Eclipse ... –

0

Il me semble que le xml est mal formé. Il y a quelques choses qui se passent ici.

Vous ne spécifiez pas le type de vue que vous souhaitez et prend donc le xmlns:android comme type d'élément (vue). Cela perturbe l'analyseur, car un élément ne peut être égal à rien (c'est-à-dire qu'un élément ne peut pas être égal à une URL).

Ensuite, il se plaint que vous n'avez pas déclaré l'espace de noms (parce qu'il a utilisé jusqu'à essayer de déclarer un élément comme étant égal à quelque chose). Enfin, il semble que le premier élément n'est pas fermé.

La correction devrait être aussi simple que de créer un type d'élément/de vue approprié avant de définir l'espace de noms, puis de s'assurer que tous les éléments sont correctement terminés.

<?xml version="1.0" encoding="utf-8"?> 
<SomeLayout 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" /> 
</SomeLayout> 

On dirait que l'intention était SomeLayout être un LinearLayout, mais il pourrait être tout type de mise en page, puisque vous utilisez juste comme un récipient, je suppose que vous voulez FrameLayout, mais il y a bonnes raisons de choisir d'autres types de mise en page.

D'autres points non liés à la question.

  • android:orientation est seulement utilisé dans un LinearLayout
  • Vous n'avez pas besoin de spécifier un poids sur la vue parce que vous utilisez parent de match. Vous n'auriez besoin de l'utiliser que si l'élément d'habillage était LinearLayout et que vous essayiez de faire en sorte que la vue occupe un pourcentage de l'écran.
  • Parce que cette mise en page est assez simple, vous pouvez également joindre le fragment directement à sa mise en page de parent