title: Google analytics problems after play services upgrade to 7.5
body: <p>After we upgraded Google Play Services to:</p>
  
  <pre><code>compile 'com.google.android.gms:play-services-base:7.5.0'
  compile 'com.google.android.gms:play-services-analytics:7.5.0'
  </code></pre>
  
  <p>Note that <a href="https://developers.google.com/analytics/devguides/collection/android/v4/app?configured=true">docs</a> say we have to use play-services-analytics:7.3.0,
  however since we are using play services 7.5, we have used the configurations stated at the start.</p>
  
  <p>The app compiles fine but we've noticed our Google Analytics no longer send to our server. And also whenever we make call Tracker.send() the following lines will appear in the error log per event:</p>
  
  <pre><code>06-30 10:51:43.188  13623-13752/com.fairfax.domain E/SQLiteLog﹕ (1032) statement aborts at 31: [INSERT OR REPLACE  INTO properties(cid,app_uid,hits_count,adid,params,tid) VALUES (?,?,?,?,?,?)]
  06-30 10:51:43.198  13623-13752/com.fairfax.domain E/GAv4﹕ Error storing a property: android.database.sqlite.SQLiteReadOnlyDatabaseException: attempt to write a readonly database (code 1032)
  06-30 10:51:44.348  13623-13752/com.fairfax.domain E/SQLiteLog﹕ (1032) statement aborts at 31: [INSERT OR REPLACE  INTO properties(cid,app_uid,hits_count,adid,params,tid) VALUES (?,?,?,?,?,?)]
  06-30 10:51:44.358  13623-13752/com.fairfax.domain E/GAv4﹕ Error storing a property: android.database.sqlite.SQLiteReadOnlyDatabaseException: attempt to write a readonly database (code 1032)
  06-3
  </code></pre>
  
  <p>We proxied the traffic and saw that indeed it did not seem to send the GA events.</p>
  
  <p>As a workaround for now we made the change to manual dispatching:</p>
  
  <pre><code>analytics.setLocalDispatchPeriod(0);
  </code></pre>
  
  <p>and manually calling:</p>
  
  <pre><code>GoogleAnalytics.getInstance(appContext).dispatchLocalHits();
  </code></pre>
  
  <p>But of course this is less than ideal, how would we let Google Analytics Handle storing/sending based on configurations and not get the errors?</p>
  
  <p>UPD: It is probably worth mentioning that we're upgrading from play services 6.5.</p>
  
  <p>UPD2: We proxied network again and now it appears that GA does send /batch request after a while. Those SQLite errors are still present though:</p>
  
  <pre><code>8273-8329/com.fairfax.domain E/SQLiteLog﹕ (1032) statement aborts at 29: [INSERT OR REPLACE  INTO properties(cid,app_uid,hits_count,adid,params,tid) VALUES (?,?,?,?,?,?)]
  </code></pre>