title: Ambiguous method overloading for method java.io.File#<init>. in React Native
body: <p>When I try to use command <code>react-native run-android</code> I see this error:</p>
  
  <pre><code>Ambiguous method overloading for method java.io.File#&lt;init&gt;.
    Cannot resolve which method to invoke for [null, class java.lang.String] due to overlapping prototypes between:
          [class java.lang.String, class java.lang.String]
          [class java.io.File, class java.lang.String]
  </code></pre>
  
  <p>I was using this command <code>yard link</code> and this is my settings.gradle :</p>
  
  <pre><code>rootProject.name = 'ReactNativeTest'
  
  include ':@react-native-firebase_firestore'
  project(':@react-native-firebase_firestore').projectDir = new File(rootProject.projectDir, '../node_modules/@react-native-firebase/firestore/android')
  
  include ':@react-native-firebase_app'
  project(':@react-native-firebase_app').projectDir = new File(rootProject.projectDir, '../node_modules/@react-native-firebase/app/android')
  
  include ':@react-native-firebase_auth'
  project(':@react-native-firebase_auth').projectDir = new File(rootProject.projectDir, '../node_modules/@react-native-firebase/auth/android')
  
  
  include ':app'
  </code></pre>
  
  <p>Clean app is working, but I want to use firebase.</p>