Android SlidingMenu errors When Referencing ABS - android

I am trying to use a SlidingMenu (https://github.com/jfeinstein10/SlidingMenu/) in my app. My first issue was that the project was using MATCH_PARENT, which wouldn't compile for me. The minSDK was set to 5, and the targetSDK was 17. I tried changing the min to 8, which is when MATCH_PARENT was introduced, to no luck.
After replacing all of the MATCH_PARENT's with FILL_PARENT's, which both compile to -1, the project seemed fine. I then proceeded to make it use ABS as per the developer's instructions on his github. Whenever I reference ABS though, I get many errors such as:
[2012-12-02 13:53:39 - LibrarySlidingMenu] C:\Users\RynoJvR\Dropbox\Android\LibraryActionBarSerlock\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-12-02 13:53:39 - LibrarySlidingMenu] C:\Users\RynoJvR\Dropbox\Android\LibraryActionBarSerlock\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-12-02 13:53:39 - LibrarySlidingMenu] C:\Users\RynoJvR\Dropbox\Android\LibraryActionBarSerlock\res\values-v11\abs__themes.xml:6: error: Error: No resource found that matches the given name: attr 'android:windowActionBar'.
[2012-12-02 13:53:39 - LibrarySlidingMenu] C:\Users\RynoJvR\Dropbox\Android\LibraryActionBarSerlock\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-12-02 13:53:39 - LibrarySlidingMenu] C:\Users\RynoJvR\Dropbox\Android\LibraryActionBarSerlock\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-12-02 13:53:39 - LibrarySlidingMenu] C:\Users\RynoJvR\Dropbox\Android\LibraryActionBarSerlock\res\values-v11\abs__themes.xml:10: error: Error: No resource found that matches the given name: attr 'android:windowActionBar'.
[2012-12-02 13:53:39 - LibrarySlidingMenu] C:\Users\RynoJvR\Dropbox\Android\LibraryActionBarSerlock\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-12-02 13:53:39 - LibrarySlidingMenu] C:\Users\RynoJvR\Dropbox\Android\LibraryActionBarSerlock\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-12-02 13:53:39 - LibrarySlidingMenu] C:\Users\RynoJvR\Dropbox\Android\LibraryActionBarSerlock\res\values-v14\abs__themes.xml:14: error: Error: No resource found that matches the given name: attr 'android:actionBarWidgetTheme'.
[2012-12-02 13:53:39 - LibrarySlidingMenu] C:\Users\RynoJvR\Dropbox\Android\LibraryActionBarSerlock\res\values-v14\abs__themes.xml:22: error: Error: No resource found that matches the given name: attr 'android:windowActionBar'.
[2012-12-02 13:53:39 - LibrarySlidingMenu] C:\Users\RynoJvR\Dropbox\Android\LibraryActionBarSerlock\res\values-v14\abs__themes.xml:26: error: Error: No resource found that matches the given name: attr 'android:windowActionBar'.
[2012-12-02 13:53:39 - LibrarySlidingMenu] C:\Users\RynoJvR\Dropbox\Android\LibraryActionBarSerlock\res\values\abs__themes.xml:196: error: Error: No resource found that matches the given name: attr 'android:windowActionBar'.
[2012-12-02 13:53:39 - LibrarySlidingMenu] C:\Users\RynoJvR\Dropbox\Android\LibraryActionBarSerlock\res\values\abs__themes.xml:197: error: Error: No resource found that matches the given name: attr 'android:windowActionModeOverlay'.
[2012-12-02 13:53:39 - LibrarySlidingMenu] C:\Users\RynoJvR\Dropbox\Android\LibraryActionBarSerlock\res\values\abs__themes.xml:198: error: Error: No resource found that matches the given name: attr 'android:windowCloseOnTouchOutside'.
[2012-12-02 13:53:39 - LibrarySlidingMenu] C:\Users\RynoJvR\Dropbox\Android\LibraryActionBarSerlock\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-12-02 13:53:39 - LibrarySlidingMenu] C:\Users\RynoJvR\Dropbox\Android\LibraryActionBarSerlock\res\values\abs__themes.xml:222: error: Error: No resource found that matches the given name: attr 'android:windowActionBar'.
[2012-12-02 13:53:39 - LibrarySlidingMenu] C:\Users\RynoJvR\Dropbox\Android\LibraryActionBarSerlock\res\values\abs__themes.xml:223: error: Error: No resource found that matches the given name: attr 'android:windowActionModeOverlay'.
[2012-12-02 13:53:39 - LibrarySlidingMenu] C:\Users\RynoJvR\Dropbox\Android\LibraryActionBarSerlock\res\values\abs__themes.xml:224: error: Error: No resource found that matches the given name: attr 'android:windowCloseOnTouchOutside'.
[2012-12-02 13:53:39 - LibrarySlidingMenu] C:\Users\RynoJvR\Dropbox\Android\LibraryActionBarSerlock\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'.
As far as I can tell, SlidingMenu is throwing the error because of some of the XML in ABS, meaning that R won't generate, and I can't use SlidingMenu.

Go to the properties .
click on the most recent target platform (which also has google maps for mapActivity). In this image its 4.2 Google Apis

Related

Android Eclipse No resource found that matches the given name 'Theme.AppCompat.Light'

I am trying to create an android project.
But i am getting following exception.
2016-03-18 23:46:40 - ActivityLifeCycleTest] F:\AndroidEclipse\ActivityLifeCycleTest\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-03-18 23:46:40 - ActivityLifeCycleTest]
[2016-03-18 23:46:40 - ActivityLifeCycleTest] F:\AndroidEclipse\ActivityLifeCycleTest\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-03-18 23:46:40 - ActivityLifeCycleTest]
[2016-03-18 23:46:40 - ActivityLifeCycleTest] F:\AndroidEclipse\ActivityLifeCycleTest\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.

Android appcompat-v7 themes_base.xml No resource found error

I have been trying to import appcompat-v7 into my app and have had no luck at all. I need this library in order to follow the steps listed here How do I use DrawerLayout to display over the ActionBar/Toolbar and under the status bar?. I have followed the steps documented https://developer.android.com/tools/support-library/setup.html, and when I add the library to my project, I'm getting a list of errors:
.../sdk/extras/android/support/v7/appcompat/res/values-v21/themes_base.xml:136: error: Error: No resource found that matches the given name: attr 'android:colorAccent'.
.../sdk/extras/android/support/v7/appcompat/res/values-v21/themes_base.xml:140: error: Error: No resource found that matches the given name: attr 'android:colorButtonNormal'.
.../sdk/extras/android/support/v7/appcompat/res/values-v21/themes_base.xml:138: error: Error: No resource found that matches the given name: attr 'android:colorControlActivated'.
.../sdk/extras/android/support/v7/appcompat/res/values-v21/themes_base.xml:139: error: Error: No resource found that matches the given name: attr 'android:colorControlHighlight'.
.../sdk/extras/android/support/v7/appcompat/res/values-v21/themes_base.xml:137: error: Error: No resource found that matches the given name: attr 'android:colorControlNormal'.
.../sdk/extras/android/support/v7/appcompat/res/values-v21/themes_base.xml:134: error: Error: No resource found that matches the given name: attr 'android:colorPrimary'.
.../sdk/extras/android/support/v7/appcompat/res/values-v21/themes_base.xml:135: error: Error: No resource found that matches the given name: attr 'android:colorPrimaryDark'.
.../sdk/extras/android/support/v7/appcompat/res/values-v21/themes_base.xml:144: error: Error: No resource found that matches the given name: attr 'android:windowElevation'.
.../sdk/extras/android/support/v7/appcompat/res/values-v21/themes_base.xml:148: error: Error: No resource found that matches the given name: attr 'android:windowElevation'.
I have the build target to API 21 for android-support-v7-appcompat. When I clean that project, I don't receive any errors. When I add appcompat-v7 as a library to my project, that is where the errors start appearing.
I have checked my SDK manager and everything is up to date. Can anyone help steer me in the right direction where I can resolve this issue?

R missing after import the Sherlock action bar android

I was creating my project using android 4.4, now I want to build it with android 2.3.3.
I got some errors in my style.xml that theme not supported.
To resolve this error I have imported the Sherlock Action Bar library. Now my style.xml error is resolved but I now get an error 'R' is missing from project
I have cleaned the project but it is not resolved.
Does anyone know how can I resolve this issue ?
My log cat is
[2014-07-21 06:59:00 - PingMyAndroid] C:\Users\Bilal Khalid\android_development\PingMyAndroid\res\values\styles.xml:10: error: Error: No resource found that matches the given name: attr 'android:backgroundStacked'.
[2014-07-21 06:59:00 - PingMyAndroid] C:\Users\Bilal Khalid\android_development\PingMyAndroid\res\values\styles.xml:17: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Light.DarkActionBar'.
[2014-07-21 06:59:00 - PingMyAndroid] C:\Users\Bilal Khalid\android_development\PingMyAndroid\res\values\styles.xml:18: error: Error: No resource found that matches the given name: attr 'android:actionBarStyle'.
[2014-07-21 06:59:00 - PingMyAndroid] C:\Users\Bilal Khalid\android_development\PingMyAndroid\res\values\styles.xml:20: error: Error: No resource found that matches the given name: attr 'android:alertDialogTheme'.
[2014-07-21 06:59:00 - PingMyAndroid] C:\Users\Bilal Khalid\android_development\PingMyAndroid\res\values\styles.xml:77: error: Error: No resource found that matches the given name: attr 'android:buttonBarButtonStyle'.
[2014-07-21 06:59:00 - PingMyAndroid] C:\Users\Bilal Khalid\android_development\PingMyAndroid\res\values\styles.xml:73: error: Error: No resource found that matches the given name: attr 'android:windowMinWidthMajor'.
[2014-07-21 06:59:00 - PingMyAndroid] C:\Users\Bilal Khalid\android_development\PingMyAndroid\res\values\styles.xml:74: error: Error: No resource found that matches the given name: attr 'android:windowMinWidthMinor'.
[2014-07-21 06:59:00 - PingMyAndroid] C:\Users\Bilal Khalid\android_development\PingMyAndroid\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Light'.
[2014-07-21 06:59:00 - PingMyAndroid] C:\Users\Bilal Khalid\android_development\PingMyAndroid\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Light.DarkActionBar'
.
Did you add ABS as a library to your project? The R file will not generate is there is an error in the xml from what i've experienced.
If you haven't added ABS as a library follow:
Right-click project in package explorer->Properties->Android->Under library click Add->Select ABS->Click ok-> should be good to go after that.

android-support-v7-appcompat support library not woking with android 2.2

When I have import android-support-v7-appcompat support library in my workspace and add to my project with android 4.4 then its working fine but less than api level 11 its's not working.
I used it for action bar in my project.
When i am working with android 2.2 then it gives error in my console. Thanks
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:24: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionBar'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:28: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:32: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionBar.Solid'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:36: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.Solid'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:40: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.Solid.Inverse'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:122: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionButton'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:125: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionButton'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:129: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionButton.CloseMode'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:133: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionButton.CloseMode'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:137: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionButton.Overflow'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:141: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionButton.Overflow'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:44: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionBar.TabBar'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:48: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabBar'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:52: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabBar.Inverse'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:56: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionBar.TabView'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:60: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabView'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:64: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabView.Inverse'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:68: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionBar.TabText'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:72: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabText'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:76: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionBar.TabText.Inverse'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:80: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ActionMode.Inverse'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:104: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionMode.Title'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:108: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionMode.Subtitle'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:112: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionMode.Title.Inverse'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:116: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionMode.Subtitle.Inverse'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:84: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionBar.Menu'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:88: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionBar.Title'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:92: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionBar.Subtitle'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:96: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionBar.Title.Inverse'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:100: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionBar.Subtitle.Inverse'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v11\styles_base.xml:26: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ProgressBar.Horizontal'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v11\styles_base.xml:30: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ProgressBar'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:159: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Spinner'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:161: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.Spinner'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:153: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.DropDownItem.Spinner'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:156: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.DropDownItem.Spinner'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:147: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ListView.DropDown'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:150: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ListView.DropDown'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:167: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ListPopupWindow'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:171: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.ListPopupWindow'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:175: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.PopupMenu'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:178: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.PopupMenu'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:182: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.PopupMenu.Large'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:186: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.PopupMenu.Small'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:190: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.PopupMenu.Large'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:194: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.PopupMenu.Small'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:200: error: Error retrieving parent for item: No resource found that matches the given name '#android:TextAppearance.Holo.SearchResult.Title'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:204: error: Error retrieving parent for item: No resource found that matches the given name '#android:TextAppearance.Holo.SearchResult.Subtitle'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:212: error: Error retrieving parent for item: No resource found that matches the given name '#android:TextAppearance.Holo.SearchResult.Title'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:216: error: Error retrieving parent for item: No resource found that matches the given name '#android:TextAppearance.Holo.SearchResult.Subtitle'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v11\styles_base.xml:36: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.AutoCompleteTextView'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v11\styles_base.xml:40: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.Light.AutoCompleteTextView'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:225: error: Error: No resource found that matches the given name: attr 'android:dividerPadding'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\styles_base.xml:224: error: Error: No resource found that matches the given name: attr 'android:showDividers'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v11\themes_base.xml:31: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v11\themes_base.xml:33: error: Error: No resource found that matches the given name: attr 'android:windowActionBar'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v11\themes_base.xml:42: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Light'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v11\themes_base.xml:44: error: Error: No resource found that matches the given name: attr 'android:windowActionBar'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\themes_base.xml:31: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\themes_base.xml:41: error: Error: No resource found that matches the given name: attr 'android:actionBarWidgetTheme'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\themes_base.xml:57: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Light'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\themes_base.xml:67: error: Error: No resource found that matches the given name: attr 'android:actionBarWidgetTheme'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\themes_base.xml:83: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Light.DarkActionBar'.
[2014-01-27 17:01:03 - MainActivity] F:\xevoke_workspace\android-support-v7-appcompat\res\values-v14\themes_base.xml:94: error: Error: No resource found that matches the given name: attr 'android:actionBarWidgetTheme'.
my property file
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To customize properties used by the Ant build system edit
# "ant.properties", and override values to adapt the script to your
# project structure.
#
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
# Project target.
target=android-8
android.library.reference.1=../android-support-v7-appcompat
This question is a bit old, but I had the same problem (and a Git branch working, while another branch not working), and it turned out that it was related to the project's target Android API. My project's target API was too low (8) (right click on your project > properties > Android > select your desired target). I think the support library (AppCompat) requires you to set your target API to at least API level 14 (Android 4.0). Please note that target API is different from the min API. It's indeed the MAX, the highest API that you think your app will support, or the highest API you have tested your app against.

Refer to ActionBarSherlock from a library [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
ActionBarSherlock 4.0 doesn't work. But 3.5.1 do.
I'm trying to use ActionBarSherlock for my app, but there seems to be a problem when referring to ActionBarSherlock from another library project.
It's because I use a UI project where I create all the activities, but this project is actually a library. So I need the ActionBarSherlock components in this UI project, but when I refer to ActionBarSherlock the following errors appear:
...\ActionBarSherlockLibrary\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'.
...\ActionBarSherlockLibrary\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'.
...\ActionBarSherlockLibrary\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'.
...\ActionBarSherlockLibrary\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'.
...\ActionBarSherlockLibrary\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'.
...\ActionBarSherlockLibrary\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'.
...\ActionBarSherlockLibrary\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'.
...\ActionBarSherlockLibrary\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'.
...\ActionBarSherlockLibrary\res\values\abs__styles.xml:89: error: Error: No resource found that matches the given name: attr 'android:dividerPadding'.
...\ActionBarSherlockLibrary\res\values\abs__styles.xml:88: error: Error: No resource found that matches the given name: attr 'android:showDividers'.
...\ActionBarSherlockLibrary\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'.
...\ActionBarSherlockLibrary\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'.
...\ActionBarSherlockLibrary\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'.
...\ActionBarSherlockLibrary\res\values\abs__styles.xml:101: error: Error: No resource found that matches the given name: attr 'android:textAllCaps'.
...\ActionBarSherlockLibrary\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'.
...\ActionBarSherlockLibrary\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'.
...\ActionBarSherlockLibrary\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'.
...\ActionBarSherlockLibrary\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'.
...\ActionBarSherlockLibrary\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'.
...\ActionBarSherlockLibrary\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'.
...\ActionBarSherlockLibrary\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'.
...\ActionBarSherlockLibrary\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'.
...\ActionBarSherlockLibrary\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'.
...\ActionBarSherlockLibrary\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'.
...\ActionBarSherlockLibrary\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'.
...\ActionBarSherlockLibrary\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'.
...\ActionBarSherlockLibrary\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'.
...\ActionBarSherlockLibrary\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'.
...\ActionBarSherlockLibrary\res\values\abs__styles.xml:184: error: Error: No resource found that matches the given name: attr 'android:dividerPadding'.
...\ActionBarSherlockLibrary\res\values\abs__styles.xml:183: error: Error: No resource found that matches the given name: attr 'android:showDividers'.
...\ActionBarSherlockLibrary\res\values\abs__styles.xml:213: error: Error: No resource found that matches the given name: attr 'android:spinnerMode'.
...\ActionBarSherlockLibrary\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'.
...\ActionBarSherlockLibrary\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'.
...\ActionBarSherlockLibrary\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'.
...\ActionBarSherlockLibrary\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'.
...\ActionBarSherlockLibrary\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'.
...\ActionBarSherlockLibrary\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'.
...\ActionBarSherlockLibrary\res\values\abs__styles.xml:257: error: Error: No resource found that matches the given name: attr 'android:animationResolution'.
...\ActionBarSherlockLibrary\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'.
...\ActionBarSherlockLibrary\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'.
...\ActionBarSherlockLibrary\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'.
...\ActionBarSherlockLibrary\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'.
...\ActionBarSherlockLibrary\res\values\abs__styles.xml:305: error: Error: No resource found that matches the given name: attr 'android:textAllCaps'.
...\ActionBarSherlockLibrary\res\values-v14\abs__styles.xml:88: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionBar.Menu'.
...\ActionBarSherlockLibrary\res\values-v14\abs__styles.xml:91: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionBar.Title'.
...\ActionBarSherlockLibrary\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.Title.Inverse'.
...\ActionBarSherlockLibrary\res\values-v14\abs__styles.xml:95: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionBar.Subtitle'.
...\ActionBarSherlockLibrary\res\values-v14\abs__styles.xml:97: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionBar.Subtitle.Inverse'.
...\ActionBarSherlockLibrary\res\values-v14\abs__styles.xml:99: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionMode.Title'.
...\ActionBarSherlockLibrary\res\values-v14\abs__styles.xml:101: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionMode.Title.Inverse'.
...\ActionBarSherlockLibrary\res\values-v14\abs__styles.xml:103: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionMode.Subtitle'.
...\ActionBarSherlockLibrary\res\values-v14\abs__styles.xml:105: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.ActionMode.Subtitle.Inverse'.
...\ActionBarSherlockLibrary\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.PopupMenu'.
...\ActionBarSherlockLibrary\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.PopupMenu.Large'.
...\ActionBarSherlockLibrary\res\values-v14\abs__styles.xml:112: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.PopupMenu.Large'.
...\ActionBarSherlockLibrary\res\values-v14\abs__styles.xml:114: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.PopupMenu.Small'.
...\ActionBarSherlockLibrary\res\values-v14\abs__styles.xml:116: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Holo.Widget.PopupMenu.Small'.
...\ActionBarSherlockLibrary\res\values-v11\abs__themes.xml:4: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo'.
...\ActionBarSherlockLibrary\res\values-v11\abs__themes.xml:6: error: Error: No resource found that matches the given name: attr 'android:windowActionBar'.
...\ActionBarSherlockLibrary\res\values-v14\abs__themes.xml:4: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo'.
...\ActionBarSherlockLibrary\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'.
...\ActionBarSherlockLibrary\res\values-v11\abs__themes.xml:10: error: Error: No resource found that matches the given name: attr 'android:windowActionBar'.
...\ActionBarSherlockLibrary\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'.
...\ActionBarSherlockLibrary\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'.
...\ActionBarSherlockLibrary\res\values-v14\abs__themes.xml:14: error: Error: No resource found that matches the given name: attr 'android:actionBarWidgetTheme'.
...\ActionBarSherlockLibrary\res\values-v14\abs__themes.xml:20: error: Error: No resource found that matches the given name: attr 'android:windowActionBar'.
...\ActionBarSherlockLibrary\res\values-v14\abs__themes.xml:24: error: Error: No resource found that matches the given name: attr 'android:windowActionBar'.
...\ActionBarSherlockLibrary\res\values\abs__themes.xml:183: error: Error: No resource found that matches the given name: attr 'android:windowActionBar'.
...\ActionBarSherlockLibrary\res\values\abs__themes.xml:184: error: Error: No resource found that matches the given name: attr 'android:windowActionModeOverlay'.
...\ActionBarSherlockLibrary\res\values\abs__themes.xml:185: error: Error: No resource found that matches the given name: attr 'android:windowCloseOnTouchOutside'.
...\ActionBarSherlockLibrary\res\values-v14\abs__themes.xml:28: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Dialog'.
...\ActionBarSherlockLibrary\res\values\abs__themes.xml:209: error: Error: No resource found that matches the given name: attr 'android:windowActionBar'.
...\ActionBarSherlockLibrary\res\values\abs__themes.xml:210: error: Error: No resource found that matches the given name: attr 'android:windowActionModeOverlay'.
...\ActionBarSherlockLibrary\res\values\abs__themes.xml:211: error: Error: No resource found that matches the given name: attr 'android:windowCloseOnTouchOutside'.
...\ActionBarSherlockLibrary\res\values-v14\abs__themes.xml:30: error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Light.Dialog'.
So it seems like it can not find the Holo themes, even though all the projects have android:targetSdkVersion="15". Is there a fix for this or is it just not possible to refer to ActionBarSherlock from a library?
I solved by changing the Project Build Target of both the ActionBarSherlock library and my projects to Android 4.0.3 (API 15).
You can do this using the Project Properties and clicking on the Android section.
Remember to do a Project Clean after changing the API Level.
You need to add ABS to your library project as well as your other project.

Categories

Resources