Does anyone know how to programatically convert an...
# android-studio
z
Does anyone know how to programatically convert an SVG file into a vector drawable? I'm trying to automate the process you go through when creating a vector asset with Android Studio.
c
You could probably use another tool (some loose script) for this and include it in the android build process
j
this dependency: com.android.tools:sdk-common
Svg2Vector.parseSvgToXml(outFileSvg, outputStream)
2
z
awesome thank you!