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

后端 未结 9 984
盖世英雄少女心
盖世英雄少女心 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:30

    On Windows I had a "BUILD FAILED Failed to crunch file [path]" error and solved it by closing the Android Studio project, copying the entire project folder into a location with a shorter directory path, such as my C: folder and then opening the project in the new location. Hope it helps

提交回复
热议问题