I am testing 9-patch image . Before everything works fine , and i rename drawable file ic_button_beat_box_default.png to ic_button_beat_box_d
drawable
ic_button_beat_box_default.png
ic_button_beat_box_d
I had the same issue. I was able to resolve it just by reducing one folder from chain. It is due to long file path. So try using minimum hierarchy for your project location.