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
try this, insert this code in android section in app gradle:
aaptOptions { cruncherEnabled = false }