<p dir="auto">Version<br>
compile 'com.github.bumptech.glide:glide:4.1.1'<br>
compile  'io.reactivex:rxjava:1.1.0'<br>
Device asus zenpone2</p>
<p dir="auto">code1.  load local file</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" Glide.with(context).asBitmap().load(file).into(new SimpleTarget&lt;Bitmap&gt;() {
                @Override
                public void onResourceReady(Bitmap resource, Transition&lt;? super Bitmap&gt; transition) {
                    sub.onNext(resource);
                }
            });"><pre class="notranslate"><code class="notranslate"> Glide.with(context).asBitmap().load(file).into(new SimpleTarget&lt;Bitmap&gt;() {
                @Override
                public void onResourceReady(Bitmap resource, Transition&lt;? super Bitmap&gt; transition) {
                    sub.onNext(resource);
                }
            });
</code></pre></div>
<p dir="auto">cache <strong>file is ok. But  if I  load from byte aray cache is not uesd. It happend in  &gt;v4 ,v3.7.0 is work fine.</strong><br>
code2:  from byte[]</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="   Glide.with(context).asBitmap().load(igBytes).into(new SimpleTarget&lt;Bitmap&gt;() {
                @Override
                public void onResourceReady(Bitmap resource, Transition&lt;? super Bitmap&gt; transition) {
                    sub.onNext(resource);
                }
            });
"><pre class="notranslate"><code class="notranslate">   Glide.with(context).asBitmap().load(igBytes).into(new SimpleTarget&lt;Bitmap&gt;() {
                @Override
                public void onResourceReady(Bitmap resource, Transition&lt;? super Bitmap&gt; transition) {
                    sub.onNext(resource);
                }
            });

</code></pre></div>
<p dir="auto">Hello, I am a developer in China.On one model, I found a problem:<br>
Java. Lang. ClassCastException: int [] always be cast to Java. Lang. Object []<br>
...<br>
Then there will be:<br>
You cannot call glide. Get () in registercomponents() use the provided glide instance instead<br>
...<br>
It's something I've never seen on any other plane.I can make sure that the values are passed correctly.Sorry, my English is not good, please forgive me</p>