Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Analytics V3 for Android: Service unavailable (code=1), using local store

I've implemented GAv3 in my app for Android as it described in official tutorial. I'm getting the following warnings in logcat:

W/GAV3    ( 3031): Thread[GAThread,5,main]: Service unavailable (code=1), will retry.
I/GAV3    ( 3031): Thread[GAThread,5,main]: No campaign data found.
W/GAV3    ( 3031): Thread[Service Reconnect,5,main]: Service unavailable (code=1), using local store.

There is high-speed internet access, tracking id is set properly. And I see no statistics for my devices. Tested on Android 2.3 and 4.3.1.

like image 813
artem Avatar asked Oct 31 '13 13:10

artem


People also ask

Why Google Analytics is not working?

Another reason why your Google Analytics is not working is that it might be conflicting with another script on your webpage. If you have other scripts running on your website, make sure they don't use the same variables as Google Analytics.

How do I install Google Analytics on Android?

Get the project If this is your first time using a Google services sample, check out the google-services repository. Open Android Studio. Select File > Open, browse to where you cloned the google-services repository, and open google-services/android/analytics .


1 Answers

I get this error message as well in my app, but Google Analytics works fine, I can see all the expected statistics from my app.

I haven't been able to figure out what the message means, but at least that is not the reason why you don't get any data in Google Analytics.

One thing to keep in mind, is that you don't really see anything useful in Google Analytics untill the day after the events happen. This makes it quite difficult to debug errors.

like image 110
Bjarte Aune Olsen Avatar answered Oct 24 '22 20:10

Bjarte Aune Olsen