 <p>Add </p> <pre><code>android{ .... packagingOptions { exclude 'META-INF/LICENSE' exclude 'META-INF/LICENSE-FIREBASE.txt' exclude 'META-INF/NOTICE' } } </code></pre> <p>to your app's gradle file.</p>