title: Google Analytics stats not updated
body: <p>I have included the latest Google Play Services library in my project and want to use Google Analytics for screen tracking. I've created a new Property and View in GA for my app, but it is not showing any of my app activity.</p>
  
  <p>I've attached the relevant code segments and XML from my app below. Can anyone tell me what I've done wrong?</p>
  
  <p>global_tracker.xml:</p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;resources xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;integer name="ga_sessionTimeout"&gt;300&lt;/integer&gt;
      &lt;bool name="ga_autoActivityTracking"&gt;true&lt;/bool&gt;
      &lt;screenName name="com.mypackage.MyApp.MainActivity"&gt;Main Activity&lt;/screenName&gt;
      &lt;string name="ga_trackingId"&gt;UA-nnnnnnn-10&lt;/string&gt;
  
  &lt;/resources&gt;
  </code></pre>
  
  <p>AndroidManifest.xml:</p>
  
  <pre><code>&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.mypackage.MyApp"
      android:versionCode="2" &gt;
  
      &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /&gt;
      &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
      &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
      &lt;uses-permission android:name="android.permission.WAKE_LOCK" /&gt;
      &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
      &lt;application
          android:name=".MyApp"
          android:allowBackup="true"
          android:icon="@drawable/ic_launcher"
          android:label="@string/app_name"
          android:theme="@style/AppTheme" &gt;
          &lt;meta-data android:name="com.google.android.gms.version"
              android:value="@integer/google_play_services_version" /&gt;
          &lt;activity
              android:name=".MainActivity"
              android:label="@string/app_name" &gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
  
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
  </code></pre>
  
  <p>Application class:</p>
  
  <pre><code>public class MyApp extends Application {
      private static final String PROPERTY_ID = "UA-nnnnnnn-10";
      public static int GENERAL_TRACKER = 0;
  
      public enum TrackerName {
          APP_TRACKER, GLOBAL_TRACKER, ECOMMERCE_TRACKER,
      }
  
      public HashMap mTrackers = new HashMap();
  
      public MyApp() {
          super();
      }
  
      public synchronized Tracker getTracker(TrackerName appTracker) {
          if (!mTrackers.containsKey(appTracker)) {
              GoogleAnalytics analytics = GoogleAnalytics.getInstance(this);
              Tracker t = (appTracker == TrackerName.APP_TRACKER) ? analytics.newTracker(PROPERTY_ID) : (appTracker == TrackerName.GLOBAL_TRACKER) ? analytics.newTracker(R.xml.global_tracker) : analytics.newTracker(R.xml.ecommerce_tracker);
              mTrackers.put(appTracker, t);
          }
          return (Tracker) mTrackers.get(appTracker);
      }
  
      }
  </code></pre>
  
  <p>MainActivity:</p>
  
  <pre><code>public class MainActivity extends ActionBarActivity {
  Boolean debugging_on;
  final static Logger logger = LoggerFactory.getLogger(UploadService.class);
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
  
      try {
          Tracker t = ((MyApp) getApplication()).getTracker(TrackerName.APP_TRACKER);
          t.setScreenName("Home");
          t.send(new HitBuilders.AppViewBuilder().build());
      } catch (Exception e) {
          e.printStackTrace();
      }
  </code></pre>