Error:(7, 34) No resource found that matches the given name (at 'colorAccent' with value '@color/accentColor')

女生的网名这么多〃 提交于 2020-01-06 23:47:47

问题


Were running the sample file, the above error occurs. I do not know how to solve.


回答1:


Add follwing resource to your colors.xml

<color name="colorAccent">YOUR_COLOR</color>

This may resolve your issue.



来源:https://stackoverflow.com/questions/37178610/error7-34-no-resource-found-that-matches-the-given-name-at-coloraccent-wi

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!