<p dir="auto">We tried integrating Glide with our project. After adding glide as dependencies in build.gradle, project compilation started failing. It throws an error saying</p>
<blockquote>
<p dir="auto">Cannot find symbol class KeyEventCompat</p>
</blockquote>
<p dir="auto">build.gradle<br>
<code class="notranslate">implementation 'com.github.bumptech.glide:glide:4.4.0'</code><br>
<code class="notranslate">annotationProcessor 'com.github.bumptech.glide:compiler:4.4.0'</code></p>
<p dir="auto"><strong>Glide Version 4.4.0</strong></p>
<p dir="auto"><strong>Glide Version</strong>:4.4.0</p>

<p dir="auto"><strong>Integration libraries</strong>:No</p>

<p dir="auto"><strong>Device/Android Version</strong>: Google Pixel</p>

<p dir="auto"><strong>Issue details / Repro steps / Use case background</strong>:<br>
The activity has a textview &amp; imageview &amp; imageview is using glide to load image, when the activity launches, it'll crash.</p>

<p dir="auto"><strong>Glide load line / <code class="notranslate">GlideModule</code> (if any) / list Adapter code (if any)</strong>:GlideModule</p>
<div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="GlideApp.with(imageView.getContext())
                .load(url)
                .placeholder(placeholder)
                .error(error)
                .into(imageView);"><pre class="notranslate"><span class="pl-smi">GlideApp</span>.<span class="pl-en">with</span>(<span class="pl-s1">imageView</span>.<span class="pl-en">getContext</span>())
                .<span class="pl-en">load</span>(<span class="pl-s1">url</span>)
                .<span class="pl-en">placeholder</span>(<span class="pl-s1">placeholder</span>)
                .<span class="pl-en">error</span>(<span class="pl-s1">error</span>)
                .<span class="pl-en">into</span>(<span class="pl-s1">imageView</span>);</pre></div>

<p dir="auto"><strong>Stack trace / LogCat</strong>:</p>
<div class="highlight highlight-source-ruby notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="java.lang.NoSuchMethodError: No static method getFont(Landroid/content/Context;ILandroid/util/TypedValue;ILandroid/widget/TextView;)Landroid/graphics/Typeface; in class Landroid/support/v4/content/res/ResourcesCompat; or its super classes (declaration of 'android.support.v4.content.res.ResourcesCompat' 
at android.support.v7.widget.TintTypedArray.getFont(TintTypedArray.java:119)"><pre class="notranslate"><span class="pl-en">java</span><span class="pl-kos">.</span><span class="pl-en">lang</span><span class="pl-kos">.</span><span class="pl-en">NoSuchMethodError</span>: <span class="pl-en">No</span> <span class="pl-en">static</span> <span class="pl-en">method</span> <span class="pl-en">getFont</span><span class="pl-kos">(</span><span class="pl-v">Landroid</span>/<span class="pl-en">content</span>/<span class="pl-v">Context</span><span class="pl-kos"></span><span class="pl-kos">;</span><span class="pl-v">ILandroid</span>/<span class="pl-en">util</span>/<span class="pl-v">TypedValue</span><span class="pl-kos">;</span><span class="pl-v">ILandroid</span>/<span class="pl-en">widget</span>/<span class="pl-v">TextView</span><span class="pl-kos">;</span><span class="pl-kos">)</span><span class="pl-v">Landroid</span>/<span class="pl-en">graphics</span>/<span class="pl-v">Typeface</span><span class="pl-kos">;</span> <span class="pl-en">in</span> <span class="pl-k">class</span> <span class="pl-v">Landroid</span>/<span class="pl-en">support</span>/<span class="pl-en">v4</span>/<span class="pl-en">content</span>/<span class="pl-en">res</span>/<span class="pl-v">ResourcesCompat</span><span class="pl-kos">;</span> <span class="pl-en">or</span> <span class="pl-en">its</span> <span class="pl-smi">super</span> <span class="pl-en">classes</span> <span class="pl-kos">(</span><span class="pl-en">declaration</span> <span class="pl-en">of</span> <span class="pl-s">'android.support.v4.content.res.ResourcesCompat'</span> 
<span class="pl-en">at</span> <span class="pl-en">android</span><span class="pl-kos">.</span><span class="pl-en">support</span><span class="pl-kos">.</span><span class="pl-en">v7</span><span class="pl-kos">.</span><span class="pl-en">widget</span><span class="pl-kos">.</span><span class="pl-en">TintTypedArray</span><span class="pl-kos">.</span><span class="pl-en">getFont</span><span class="pl-kos">(</span><span class="pl-v">TintTypedArray</span><span class="pl-kos">.</span><span class="pl-en">java</span><span class="pl-pds">:119</span><span class="pl-kos">)</span></pre></div>