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
What solved it for me was to set
aaptOptions { cruncherEnabled = false }
Then to run the app (icons were missing) then remove this option and run the app again. Hope it helps somebody.