I have changed my compileSdkVersion to 22 and targetSdkVersion to 22 (from 21), then I tried to build the project and i got error in my res\values\styles where it says
Error:(1) Attribute "track" has already been defined
Error:(1) Attribute "thumbTextPadding" has already been defined
Error:(1) Attribute "switchTextAppearance" has already been defined
Error:(1) Attribute "switchMinWidth" has already been defined
Error:(1) Attribute "switchPadding" has already been defined
Error:(1) Attribute "switchStyle" has already been defined
I tried to revert back to 21 again but I got this issue in this LINK
in my style file i do not have any attribute called 'track', and in it i fail to resolve
<style name="PreferenceListHeader" parent="@android:attr/listSeparatorTextViewStyle">
Also why does it talk about those attributes if I do not have it in my file? or what does it mean?.
Thanks in advance.