I do not know how this error started to happen, I simply closed the android studio yesterday and I turned off the pc, today, I turned on the pc and opened the android studio, th
The solution works for me is to create a new values-v21 folder and put attr.xml in that, by this it would avoid merging your resources and by doing this your attr will work only from sdk 21 and above.