如何修复android中styles.xml中的错误?
错误如何修复android中styles.xml中的错误?,android,Android,错误 在您的项目中添加appcompact_v7 lib或使用android资源中的样式Addappcompat_v7 lib。@MD他想使用Holo主题,为什么要添加appcompat?do“android:style/theme.Holo.Light.darkaActionBar”可能的重复 <resources> <!-- Base application theme, dependent on API level. This theme is
在您的项目中添加appcompact_v7 lib或使用android资源中的样式Add
appcompat_v7 lib
。@MD他想使用Holo主题,为什么要添加appcompat?do“android:style/theme.Holo.Light.darkaActionBar”
可能的重复
<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>
<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>
<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>
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