Android: Using SVG in res leads to error: “The file name must end with .xml or .png”

前端 未结 6 1819
无人共我
无人共我 2020-12-15 08:40

I just updated Android Studio 1.2.1.1 and now gradle got problems with svg in my resources folder. I was always using SVGs with no problem and I hope they will be \"allowed\

6条回答
  •  爱一瞬间的悲伤
    2020-12-15 09:11

    the problem still remains on gradle 1.5. It seems that the only option in the future is to convert the svg files to xml using the "create vector asset" and then select svg file option.

提交回复
热议问题