Home > Blockchain >  android studio changes svg files
android studio changes svg files

Time:12-19

I've downloaded a svg file of UE flag, and it is supposed to look something like this: enter image description here

but during the configuration of vector asset in android studio it changes the svg file and causes this:

enter image description here

Is it because the SVG is too complicated?

(I honestly have no idea, just guessing... I've tried to find a simpler one but I couldn't find any)

the place where I downloaded the SVG from

Any help will be appreciated, thanks :)

CodePudding user response:

Android Studio has issues with some SVG files and can change their shape. As this is simply a bug inside Android Studio you just have to report it and try to find another SVG file to use for now.

If the image shows correctly on the Android Studio image preview but not in your app, then it means your image loading library has an issue with the vector image and you should report it to the developer.

I have experienced both and the only actual fix on your side is to just find another SVG file unfortunately.

  • Related