title: The library com.google.firebase:firebase-analytics is being requested by various other libraries
body: <p>I am getting this error when updating the Firebase libraries:</p>
  
  <blockquote>
    <p>The library com.google.firebase:firebase-analytics is being requested
    by various other libraries at [[15.0.1,16.0.0), [16.0.1,16.0.1],
    [16.0.1,99999]], but resolves to 16.0.1. Disable the plugin and check
    your dependencies tree using ./gradlew :app:dependencies.</p>
  </blockquote>
  
  <p>Dependencies are:</p>
  
  <pre><code>implementation 'com.google.firebase:firebase-core:16.0.1'
  implementation 'com.google.firebase:firebase-messaging:17.1.0'
  implementation 'com.google.firebase:firebase-database:16.0.1'
  implementation 'com.google.firebase:firebase-appindexing:16.0.1'
  implementation 'com.google.firebase:firebase-crash:16.0.1'
  implementation 'com.google.firebase:firebase-auth:16.0.2'
  implementation 'com.google.firebase:firebase-invites:16.0.1'
  implementation 'com.google.firebase:firebase-config:16.0.0'
  implementation 'com.google.firebase:firebase-ads:15.0.1'
  implementation 'com.google.firebase:firebase-firestore:17.0.2'
  </code></pre>
  
  <p>Is there a simple way to find the correct configuration?
  If not, what plugin is to be disabled and how? if i just run the task i get the same error.</p>
  
  <p><strong>Update:</strong>
   i think this dependency has something to do it with, because if disable it's pluging the depedency task runs:</p>
  
  <pre><code>implementation 'com.google.android.gms:play-services-auth:15.0.1'
  </code></pre>