错误:(7,34)找不到与给定名称匹配的资源(在'colorAccent'处,值为'@ color / accentColor') [英] Error:(7, 34) No resource found that matches the given name (at 'colorAccent' with value '@color/accentColor')
本文介绍了错误:(7,34)找不到与给定名称匹配的资源(在'colorAccent'处,值为'@ color / accentColor')的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
运行示例文件时,发生上述错误。
我不知道如何解决。
Were running the sample file, the above error occurs. I do not know how to solve.
推荐答案
将以下资源添加到您的 colors.xml
Add follwing resource to your colors.xml
<color name="colorAccent">YOUR_COLOR</color>
这可以解决您的问题。
这篇关于错误:(7,34)找不到与给定名称匹配的资源(在'colorAccent'处,值为'@ color / accentColor')的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文