title: Android Studio cannot resolve symbol GoogleAnalytics v4
body: <p>I'm trying to integrate Google Analytics in my Android App, but I'm having trouble. <strong>(SEE EDIT)</strong></p>
  
  <p>Following <a href="https://developers.google.com/analytics/devguides/collection/android/v4/" rel="nofollow noreferrer">https://developers.google.com/analytics/devguides/collection/android/v4/</a> when I create </p>
  
  <pre><code>HashMap&lt;TrackerName, Tracker&gt; mTrackers = new HashMap&lt;TrackerName, Tracker&gt;();
  </code></pre>
  
  <p>Android Studio tell me that cannot resolve symbol <code>Tracker</code>.</p>
  
  <p>I already use Google Play Services in my app to serve admob, so I don't understand why I cannot import <code>com.google.android.gms.analytics.Tracker</code></p>
  
  <p>In AndroidManifest.xml i have </p>
  
  <pre><code>&lt;meta-data android:name="com.google.android.gms.version"
             android:value="@integer/google_play_services_version"/&gt;
  </code></pre>
  
  <p>What am I missing?</p>
  
  <p><strong>EDIT</strong><br>
  i'm following also: <a href="https://stackoverflow.com/questions/24782901/how-to-integrate-google-analytics-in-android-app">How to integrate Google Analytics in Android app</a>
  and <a href="http://java.dzone.com/articles/working-google-analytics-api" rel="nofollow noreferrer">http://java.dzone.com/articles/working-google-analytics-api</a> </p>
  
  <p>but I could not solve the problem</p>
  
  <p>it is as if something was missing, google-play service is integrated because I'm using it for in-app purchase, but I do not understand why Android studio does not want to recognize google analytics.</p>
  
  <p>add a photo for clarity:
  <img src="https://i.stack.imgur.com/Z82PG.png" alt="enter image description here"></p>
  
  <p>project structure:</p>
  
  <p><img src="https://i.stack.imgur.com/d0HGT.png" alt="enter image description here"></p>
  
  <p><strong>EDIT 2</strong></p>
  
  <p><code>android:value</code> in this <code>meta-data</code></p>
  
  <pre><code>&lt;meta-data android:name="com.google.android.gms.version"
             android:value="@integer/google_play_services_version"/&gt;
  </code></pre>
  
  <p>where <code>@integer/google_play_services_version</code> is 4132500</p>
  
  <p>I checked the sdk and I have no updates to be done in Extras</p>