Marco
Marco

Reputation: 59

Adding Vector Assets to an Android Studio Project doesn't work

I've got the following problem: I try to add a vector asset to my Android-Project. I've followed the steps described here. But when I choose my local SVG file I cannot import the file. I receive the following exception: ArrayIndexOutOfBoundsException: 10.

I've created the vector-image with Illustrator and saved it as a SVG 1.1-File.

What am I doing wrong?

Upvotes: 0

Views: 678

Answers (1)

Marco
Marco

Reputation: 59

I found a solution by myself. The issue is known and addressed here. To solve the Problem just install Preview 2.0 of Android Studio.

I hope this might help.

Upvotes: 2

Related Questions