Use fillType="evenOdd" on Android 21
<p>I have an SVG image that I want to include in an Android project.</p>

<p>The minSdk version for the project is 9. Android Studio is generating PNG files for the SVG.</p>

<p>However, for API 21+, Android studio includes the SVG in a <code>drawable-anydpi-v21</code> resource folder.</p>

<p>That means that any device running API 21 and up will use the SVG instead of the PNGs.</p>

<p>And that is the problem: my SVG requires <code>android:fillType="evenOdd"</code>.</p>

<p>The PNG are properly generated, but for the SVG, because that attribute is API 24+, it is ignored on API 21 devices, and the image appears filled instead of being a wireframe-like image.</p>

<p>Is there anyway to convince Android studio to only include the PNG and drop the SVG completely?</p>

<p>Is there an other solution for this?</p>