Android开发Android Tips

The color “window_background” in

2020-04-26  本文已影响0人  SEVENOnduty

具体错误:

The color “colorRed” in values has no declaration in the base values folder; this can lead to crashes when the resource is queried in a configuration that does not match this qualifier less

解决方法:

把整个colors文件的内容拷贝一份后,删掉全部内容再重新贴回来,或者再重新编写一遍就可以了

原因:

因为这个colors文件是我从别的github项目直接复制粘贴过来的,猜测应该是老外的开发工具是旧版的eclipse之类的,所以有隐藏字符吧 

上一篇 下一篇

猜你喜欢

热点阅读