title: Program type already present: io.invertase.firebase.BuildConfig
body: <p>Based on some googling, it seems that there is some overlap between 2 packages.  I've encountered a similar issue in the past and I think I was able to fix it with ./gradlew clean, but that isn't fixing my current issue.  Here's the error:</p>
  
  <p>Execution failed for task ':app:transformDexArchiveWithDexMergerForDebug'.</p>
  
  <blockquote>
    <p>com.android.build.api.transform.TransformException: java.lang.RuntimeException: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
      Program type already present: io.invertase.firebase.BuildConfig</p>
  </blockquote>
  
  <p>I started encountering this issue as I was trying to get react-native-firebase wired up into my application.  Here are a few relevant dependencies in my package.json file:</p>
  
  <pre><code>"@react-native-firebase/app": "^6.0.3",
  "@react-native-firebase/database": "^6.0.3",
  "firebase-auth": "^0.1.2",
  "react-native-firebase": "^5.5.6",
  </code></pre>
  
  <p>Do I need to uninstall one of these packages or is it possible that I made a wireup mistake in a file like build.gradle, MainApplication.java?</p>