Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Vector Drawable <text> not support, <tspan> not support

In icon.svg ERROR@ line 9 <text> is not supported ERROR@ line 10 <tspan> is not supported 

How to export this type of svg to vector drawable? Is this even possible? Or should I look for a new svg?

like image 505
Arka Prava Basu Avatar asked Apr 25 '18 13:04

Arka Prava Basu


People also ask

Can we use SVG in drawable Android?

Android Studio includes a tool called Vector Asset Studio that helps you add material icons and import Scalable Vector Graphic (SVG) and Adobe Photoshop Document (PSD) files into your project as vector drawable resources.


1 Answers

When I had the same issue, I used the free online converter CloudConvert, to convert my SVG to another SVG, with marking their setting Text To Path to yes, where the converted SVG got opened in my Android Studio like a charm.

like image 165
AbdelHady Avatar answered Sep 24 '22 19:09

AbdelHady