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
I have red other similar questions and answers to them on SO, regarding that "file crunching failed, see logs for details" error. Nothing helped.So,I reverted all "SO" changes I made with gradle and other files and removed ".9" in that png.9 files and it began work. Then I recreated all *.9.png files again. Hence, in my case the cause was wrong editing of 9.pngs in external png editors.