title: Cannot Resolve Symbol 'analytics' When Using Google Analytics
body: <p>I am trying to implement Google Analytics in my app,</p>
  
  <p>I have already created a global_tracker.xml file containing the basic configuration and my Property-ID.</p>
  
  <p>I have added the meta-data tag to my AndroidManifest.xml:</p>
  
  <pre><code>&lt;meta-data android:name="com.google.android.gms.version"
              android:value="@integer/google_play_services_version" /&gt;
  </code></pre>
  
  <p>These are the dependencies in my build.gradle file:</p>
  
  <pre><code>dependencies {
      compile fileTree(include: ['*.jar'], dir: 'libs')
      compile 'com.android.support:support-v4:21.0.0'
      compile 'com.google.android.gms:play-services:6.1.+'
  }
  </code></pre>
  
  <p>I have created a class to store my tracker Enum as instructed in the <a href="https://developers.google.com/analytics/devguides/collection/android/v4/" rel="nofollow">Google Analytics SDK V4 Guide</a></p>
  
  <p>But even after all of these steps, when attempting to import:</p>
  
  <pre><code>import com.google.android.gms.analytics.Logger;
  import com.google.android.gms.analytics.Tracker;
  import com.google.android.gms.analytics.GoogleAnalytics;
  </code></pre>
  
  <p>I get an error saying "Cannot resolve symbol 'analytics' directing me to my import lines.</p>
  
  <p>I have tried searching on the internet and in SO for a solution but didn't succeed.</p>
  
  <p>What am I missing?</p>