title: Execution failed for task ':react-native-firebase:compileDebugJavaWithJavac'
body: <p>In my React Native <code>0.60.4</code> app i'm trying to use <code>react-native-firebase</code>and i have done everything except <code>react-native-link</code> as it's not supported in the latest version of React Native. When i give command <code>react-native-run-android</code>,it shows a lot of errors from the node module of <code>react-native-firebase</code>. I'm guessing it's happening for some version conflict. Here is the long error :</p>
  
  <p><a href="https://i.stack.imgur.com/T2x3Z.png" rel="noreferrer"><img src="https://i.stack.imgur.com/T2x3Z.png" alt="enter image description here"></a></p>
  
  <p>Here's my app build/gradle file dependencies:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>dependencies {
      implementation fileTree(dir: "libs", include: ["*.jar"])
      implementation "com.facebook.react:react-native:+" 
      implementation "com.google.firebase:firebase-core:16.0.9"
      implementation "com.google.firebase:firebase-firestore:19.0.0"
      implementation "com.google.firebase:firebase-messaging:18.0.0"
      // implementation "com.google.firebase:firebase-functions: 17.0.0"
      // implementation "com.google.firebase:firebase-analytics: 16.5.0"
      // implementation " com.google.firebase:firebase-ads:17.2.1"
      // implementation "com.google.android.gms:play-services-measurement-api:16.5.0"
      // implementation "com.google.firebase:firebase-invites:17.0.0"
      // implementation "com.google.firebase:firebase-iid: 18.0.0"
      // implementation "com.google.firebase:firebase-config:17.0.0"
      // implementation "com.google.firebase:firebase-perf:17.0.0"
    
    // Firebase dependencies
      implementation "com.google.android.gms:play-services-base:16.1.0"
      implementation"com.google.android.gms:play-services-gcm:16.1.0"
     
      implementation 'com.android.support:multidex:1.0.3'
  
      if (enableHermes) {
        def hermesPath = "../../node_modules/hermesvm/android/";
        debugImplementation files(hermesPath + "hermes-debug.aar")
        releaseImplementation files(hermesPath + "hermes-release.aar")
      } else {
        implementation jscFlavor
      }
  }
  
  task copyDownloadableDepsToLibs(type: Copy) {
      from configurations.compile
      into 'libs'
  }
  
  apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)
  apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"
  apply plugin: 'com.google.gms.google-services'</code></pre>
  </div>
  </div>
  </p>
  
  <p>And my android build/gradle :</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>buildscript {
      ext {
          buildToolsVersion = "28.0.3"
          minSdkVersion = 21
          compileSdkVersion = 28
          targetSdkVersion = 28
          supportLibVersion = "28.0.0"
          googlePlayServicesVersion = "16.1.0" 
          multiDexEnabled = true
      }
      repositories {
          google()
          jcenter()
      }
      dependencies {
          classpath('com.android.tools.build:gradle:3.4.2')
          classpath( 'com.google.gms:google-services:4.2.0')
  
      }
  }
  
  allprojects {
      repositories {
          google()
          mavenLocal()
          jcenter()
          maven {
              url("$rootDir/../node_modules/react-native/android")
          }
          maven {
              url("$rootDir/../node_modules/jsc-android/dist")
          }
  
      }
  }</code></pre>
  </div>
  </div>
  </p>