No resource was found that matches the specified name 'android: Theme.Holo.Light.DarkActionBar'

below is my xml file. It gives me an error saying thaty "error: Error getting parent: No resource found that matches the specified name 'android: Theme.Holo.Light.DarkActionBar'."

<!--
    Base application theme for API 14+. This theme completely replaces
    AppBaseTheme from BOTH res/values/styles.xml and
    res/values-v11/styles.xml on API 14+ devices.
-->

<style name="AppBaseTheme" parent="android:Theme.Holo.Light.DarkActionBar">
    <!-- API 14 theme customizations can go here. -->
</style>

      

+3


source to share


3 answers


Change the attribute parent

toparent="android:style/Theme.Holo.Light.DarkActionBar"



+3


source


Right-click your project in Package Explorer> select Properties> Android> and set the Project Build Target to API level 14 or higher.



+3


source


Right click your project-> properties-> Android then add android-support-v7-appcompat support

You can import this library from android-sdk folder-> extras-> android-> support-> v7-> appcompat

0


source







All Articles