In short, it’s not an error from the code. It tells that “Android Studio failed to display the thumbnail of the given drawable.”
Thanks @Ramz for finding an answer at https://stackoverflow.com/a/33032200/361100. I’ll leave this post because this question is more descriptive than the linked one.