<p dir="auto">Glide Can't load local Vector drawable?</p>
<p dir="auto"><code class="notranslate">Glide.with(this) .load(R.drawable.ic_1f3ad) .into(image);</code></p>
<p dir="auto">this ic_1f3ad is a Vector drawable!</p>
<p dir="auto">I use 3.7.0  or 4.0.0-SNAPSHOT can't load !</p>
<p dir="auto">I want know this is glide can't support or my fault？</p>
<p dir="auto">I've a drawable (res/drawable/my_drawable.xml) which looks like this:</p>
<div class="highlight highlight-text-xml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;vector xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
        android:width=&quot;24dp&quot;
        android:height=&quot;24dp&quot;
        android:viewportHeight=&quot;24&quot;
        android:viewportWidth=&quot;24&quot;&gt;
    &lt;path
        android:fillColor=&quot;#aaa&quot;
        android:pathData=&quot;.....&quot; /&gt;
&lt;/vector&gt;"><pre class="notranslate">&lt;<span class="pl-ent">vector</span> <span class="pl-e">xmlns</span><span class="pl-e">:</span><span class="pl-e">android</span>=<span class="pl-s"><span class="pl-pds">"</span>http://schemas.android.com/apk/res/android<span class="pl-pds">"</span></span>
        <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">width</span>=<span class="pl-s"><span class="pl-pds">"</span>24dp<span class="pl-pds">"</span></span>
        <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">height</span>=<span class="pl-s"><span class="pl-pds">"</span>24dp<span class="pl-pds">"</span></span>
        <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">viewportHeight</span>=<span class="pl-s"><span class="pl-pds">"</span>24<span class="pl-pds">"</span></span>
        <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">viewportWidth</span>=<span class="pl-s"><span class="pl-pds">"</span>24<span class="pl-pds">"</span></span>&gt;
    &lt;<span class="pl-ent">path</span>
        <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">fillColor</span>=<span class="pl-s"><span class="pl-pds">"</span>#aaa<span class="pl-pds">"</span></span>
        <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">pathData</span>=<span class="pl-s"><span class="pl-pds">"</span>.....<span class="pl-pds">"</span></span> /&gt;
&lt;/<span class="pl-ent">vector</span>&gt;</pre></div>
<p dir="auto">I want to load this drawable into an ImageView inside <code class="notranslate">onBindViewHolder</code>:</p>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Glide.with(context)
     .load(R.drawable.my_drawable)
     .into(holder.imageViewProfile);"><pre class="notranslate"><span class="pl-smi">Glide</span>.<span class="pl-en">with</span>(<span class="pl-s1">context</span>)
     .<span class="pl-en">load</span>(<span class="pl-smi">R</span>.<span class="pl-s1">drawable</span>.<span class="pl-s1">my_drawable</span>)
     .<span class="pl-en">into</span>(<span class="pl-s1">holder</span>.<span class="pl-s1">imageViewProfile</span>);</pre></div>
<p dir="auto">But it's not working. If I add a listener, an exception is thrown and it's <code class="notranslate">null</code>.</p>
<p dir="auto">How to load such an vector drawable correctly into an ImageView with Glide?<br>
Alternative is not using Glide, but .... yeah .... that's not what I want.</p>