title: Gradle can not resolve com.google.android.gms.analytics.Tracker
body: <p>I'm going to Implement google Analytic V4 from this <a href="http://www.androidhive.info/2015/08/android-integrating-google-analytics-v4/" rel="nofollow">link</a>.</p>
  
  <p>I updated project dependency like this:</p>
  
  <pre><code>compile 'com.android.support:appcompat-v7:23.3.0'
  compile 'com.google.android.gms:play-services-analytics:8.4.0'
  </code></pre>
  
  <p>In my <code>AnalyticsTrackers</code> class unfortunately <code>Tracker</code> won't resolve.
  I also tried to implement dependency from <a href="https://developers.google.com/analytics/devguides/collection/android/v4/#set-up-your-project" rel="nofollow">google link</a>
  like this:</p>
  
  <blockquote>
    <p>Add the dependency to your project-level build.gradle:</p>
  
  <pre><code>classpath 'com.google.gms:google-services:2.0.0-alpha6'
  
  Add the plugin to your app-level build.gradle:
  
  apply plugin: 'com.google.gms.google-services'
  </code></pre>
    
    <p>Now, you need to add a dependency for Google Play Services. Inside
    your app's build.gradle add: compile
    'com.google.android.gms:play-services-analytics:8.4.0'</p>
  </blockquote>
  
  <p>but still can not resolve <code>com.google.android.gms.analytics.Tracker</code></p>