具體錯誤:
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之類的,所以有隱藏字符吧?