I am trying to import a svg
file to Android Studio and I am getting the following error:
Could not generate a preview
EXCEPTION in parsing prove.svg:
For input string: "60px"Exception while parsing XML file:
Premature end of file.
And this is the svg
that I have by the moment:
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="150" height="150">
<circle r="60px" fill="red" cx="90" cy="65"></circle>
</svg>
As you can see, I do not have any problems if I use it on the net because it is rendering well.
So, what am I missing? Should I adapt it to some format to use it on Android Studio?
Note: I have searched and it seems that it had to be adapted on old versions of Android Studio
because it did not accept <circle>
tags but I also have saw that now it should accept them. Now I am using Android Studio 2.2
.
Thanks in advance!