The error “Failed to compile a values file” is due, as the error suggests something related to any values file entry you have.
For instance, when adding a string entry value many times the char ' is present without the proper escape char \
the example below is for an entry on the strings values file:
<string name="slide_1_title">Joe's Pizza</string>
needs to be corrected to:
<string name="slide_1_title">Joe\'s Pizza</string>