eclipsse导入项目后,style.xml下报错:
No resource found that matches the given name: attr 'colorAccent'
No resource found that matches the given name: attr 'colorPrimaryDark'
No resource found that matches the given name: attr 'colorAccent'
style.xml代码如下:
<!-- Base application theme. -->
<style name="AppTheme" parent="AppTheme.Base"/>
<style name="AppTheme.Base" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
</style>
appcompat_v7包都已经导入,是不是sdk版本的问题