0
<resources>
<!--
Base application theme, dependent on API level. This theme is replaced
by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
-->
<style name="AppBaseTheme" parent="Theme.">
<!--
Theme customizations available in newer API levels can go in
res/values-vXX/styles.xml, while customizations related to
backward-compatibility can go here.
-->
</style>
<!-- Application theme. -->
<style name="AppTheme" parent="AppBaseTheme">
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
</style>
</resources>
// Выше мой первый Style.xml //Как исправить ошибки в styles.xml в android?
<resources>
<!--
Base application theme for API 11+. This theme completely replaces
AppBaseTheme from res/values/styles.xml on API 11+ devices.
-->
<style name="AppBaseTheme" parent="Theme.Holo.Light.DarkActionBar">
<!-- API 11 theme customizations can go here. -->
</style>
</resources>
// Выше мой второй Style.xml //
<resources>
<!--
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="Theme.Holo.Light.DarkActionBar">
<!-- API 14 theme customizations can go here. -->
</style>
</resources>
// Выше мой третий Style.xml //
У меня ошибка в трех стилях. Ошибка, которую я получаю, упоминается ниже.
Description Resource Path Location Type
ОШИБКА
error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Holo.Light.DarkActionBar'. styles.xml /CricketApp/res/values line 7 Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Holo.Light.DarkActionBar'. styles.xml /CricketApp/res/values-v14 line 8 Android AAPT Problem
error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Holo.Light.DarkActionBar'. styles.xml /CricketApp/res/values-v11 line 7 Android AAPT Problem
надстройку 'appcompat_v7 lib' в проекте .... –
@MD он хочет использовать Холо тему, почему должен ли он добавить appcompat? – Apurva
do '" android: style/Theme.Holo.Light.DarkActionBar "' –