why i get Some file crunching failed after i rename drawable file to .9.png?

后端 未结 9 987
盖世英雄少女心
盖世英雄少女心 2021-02-07 07:40

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

9条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-07 08:27

    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.

提交回复
热议问题