title: Can not find symbol method metafactory(Lookup,String,MethodType,MethodType,MethodHandle,MethodType)
body: <p>After integrating firebase in react native i am getting this error. I have searched and tried to change the gradle version as well moreover i have reinstalled the sdk build tools.</p>
  
  <blockquote>
    <p>Here is my build.gradle configurations</p>
  </blockquote>
  
  <pre><code>buildscript {
      ext {
          buildToolsVersion = "28.0.3"
          minSdkVersion = 16
          compileSdkVersion = 28
          targetSdkVersion = 28
      }
      repositories {
          google()
          jcenter()
      }
      dependencies {
          classpath("com.android.tools.build:gradle:3.4.2")
          classpath 'com.google.gms:google-services:4.2.0'
          // NOTE: Do not place your application dependencies here; they belong
          // in the individual module build.gradle files
      }
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/4Et2K.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4Et2K.png" alt="enter image description here"></a></p>