Android Vector Drawable not support. How to fix it?

后端 未结 2 1826
执笔经年
执笔经年 2021-02-19 05:16

| got this error when try to generate a vector asset from local svg files from AndroidStudio 2.2, Ubuntu 14.04

Could not generate a preview
In icon.svg
ERROR@ li         


        
2条回答
  •  终归单人心
    2021-02-19 05:45

    I was having the same problem when importing svg directly from sketch into the android studio, I used this tool to convert it to vector drawable and then importing it.

提交回复
热议问题