title: Android Studio 3.1, No cached version available for offline mode
body: <p>Big problem since upgrading to Android Studio 3.1, I get:</p>
  
  <pre><code>No cached version of com.github.bumptech.glide:compiler:4.6.1 available for offline mode
  </code></pre>
  
  <p>But I am not in offline mode as you can see here:</p>
  
  <p><a href="https://i.stack.imgur.com/1J9le.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1J9le.png" alt="enter image description here"></a></p>
  
  <p>I tried Clean Project and Rebuild Project, all with no success.
  I even rebooted my PC.</p>
  
  <p>Here's my Build.gradle:</p>
  
  <pre><code>dependencies {
      implementation fileTree(include: ['*.jar'], dir: 'libs')
      implementation 'com.android.support:design:27.1.0'
      implementation 'com.android.support:support-v4:27.1.0'
      implementation 'com.android.support:appcompat-v7:27.1.0'
      implementation "com.android.support:gridlayout-v7:27.1.0"
      implementation 'com.android.support:exifinterface:27.1.0'
      implementation 'com.android.support.constraint:constraint-layout:1.0.2'
      implementation 'com.google.code.gson:gson:2.8.2'
      testImplementation 'junit:junit:4.12'
      androidTestImplementation 'com.android.support.test:runner:1.0.1'
      androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
      implementation 'com.github.bumptech.glide:glide:4.6.1'
      annotationProcessor 'com.github.bumptech.glide:compiler:4.6.1'
  }
  </code></pre>