The reason for this is not entirely clear to me, but here is what I know: The svg standard allows you to omit leading zeros for optimization. This is the main reason, because it seems that it is also allowed to concatenate them as often as you like, 0.1 0.2 0.3 can be written as .1.2.3 the Android analyzer cannot handle this. All SVG display tools that I know have no problems. Therefore, you just need to add a few spaces to your path. I wrote this regular expression, which may have to be run several times until there are no more hits.
Just replace in Android Studio (which has the Regex checkbox selected):
(\.\d+)(\.\d)
by
$1 $2
This will solve your problem.
source share