Failed to find byte code for com/google/firebase : <p>I made following upgrades today</p>

<ol>
<li>Android Studio <strong>3.0</strong> -> <strong>3.1</strong></li>
<li><p>In <code>build.gradle</code></p>

<p>dependencies {
    classpath 'com.android.tools.build:gradle:<strong>3.0.1</strong>' -> <strong>3.1.0</strong>
}</p></li>
<li><p>In <code>gradle/wrapper/gradle-wrapper.properties</code></p>

<p>distributionUrl=https://services.gradle.org/distributions/<strong>gradle-4.5-all.zip</strong> -> <strong>gradle-4.6-all.zip</strong></p></li>
</ol>

<p>And I am now getting following error with my firebase modules (random module at a time when I build)</p>

<blockquote>
  <p>Failed to find byte code for
  com/google/firebase/storage/StreamDownloadTask$StreamProcessor</p>
</blockquote>

<p>or sometimes</p>

<blockquote>
  <p>Failed to find byte code for
  com/google/firebase/database/ChildEventListener</p>
</blockquote>

<p>My project implements</p>

<pre><code>dependencies {
    compile 'com.google.android.gms:play-services-base:11.8.0'
    compile 'com.google.firebase:firebase-core:11.8.0'
    compile 'com.google.firebase:firebase-auth:11.8.0'
    compile 'com.google.firebase:firebase-firestore:11.8.0'
    compile 'com.google.firebase:firebase-invites:11.8.0'
    compile "com.google.firebase:firebase-messaging:11.8.0"
    compile 'com.google.android.gms:play-services-auth:11.8.0'
    compile fileTree(include: ['*.jar'], dir: 'libs')
    compile 'com.android.support:appcompat-v7:26.1.0'
}
</code></pre>
