Android Studio can't find color reference within the same resource file

北城以北 提交于 2019-12-08 18:52:30

After trying with project clean/compile and File>Invalidate Caches / Restart... with no success, I solved the problem relocating the project to another folder.

Change

xmlns="http://schemas.android.com/tools"

to

xmlns="http://schemas.android.com/apk/res-auto"

lets see what happens

That also depends on where your are trying to access the resource files. some fields only take rgb format for colors.

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