weixin_41472864 2018-12-08 03:24 采纳率: 0%
浏览 2289

导入项目style.xml报错No resource found that matches the given name: attr 'colorAccent'

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版本的问题

  • 写回答

1条回答 默认 最新

  • m0_56437992 2021-09-17 23:01
    关注

    我也想知道

    评论

报告相同问题?

悬赏问题

  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog
  • ¥15 Excel发现不可读取的内容
  • ¥15 关于#stm32#的问题:CANOpen的PDO同步传输问题
  • ¥20 yolov5自定义Prune报错,如何解决?