| 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@ line 6 <defs> is not supported
ERROR@ line 25 <use> is not supported
I google and found that happened because AndroidStudio doesn't support <defs>
, <use>
...
But I don't know how to fix it?
Can I change <defs>
to another tag that AndroidStudio support?
Or I never can generate vector asset from this SVG file?
Any help or suggestion would be great appreciated.