GetGoogleAppId error with status: 10 Android KitKat - GCM and Google Drive

I run this on a Samsung Galaxy S4 mini. KitKat Android.

In the application, I use both GCM for messaging and the Google Drive API. I think the error I get is from GCM, but I'm not sure.

Here is the LogCat:

I/PersonaManager﹕ getPersonaService() name persona_policy I/GMPM﹕ App measurement is starting up I/PersonaManager﹕ getPersonaService() name persona_policy I/MainActivity﹕ onCreate E/GMPM﹕ getGoogleAppId failed with status: 10 E/GMPM﹕ Uploading is not possible. App measurement disabled I/PersonaManager﹕ getPersonaService() name persona_policy 

What I don’t understand where GMPM starts from? I will not activate Google Drive or GCM until it is in my code. You can see that GMPM starts before my MainActivity, so I'm not sure how to debug it?

My application is working fine. It still connects to GCM, still receives OK messages. Still connected to Google Drive. Still retrieving files.

But this mistake bothers me. Does anyone know what causes it, or how can I debug it?

+8
android android-studio google-cloud-messaging google-drive-android-api
source share
4 answers

I saw the same error logs in the app with Google Drive and Google Analytics enabled. These features seem to work fine despite the error messages. When I started experimenting with adding GCM, I configured and installed a new google-services.json file. After that, the error messages disappeared. Try updating the google-services.json file. This worked for @MrsEd (see the comment above for the question).

+9
source share

I ran into the same problem.

I used:

 compile 'com.google.android.gms:play-services:8.0.1' 

When I changed it to the last one, it started to work. In my case it was

 compile 'com.google.android.gms:play-services:9.2.1' 
+2
source share
 getGoogleAppId failed with status: 10 Uploading is not possible. App measurement disabled 

It happens if you have an application that requests a Google license server but does not have credentials to run and license verification does not work.

For example,

  • running a licensed application on an unlicensed device.
  • During the development of a paid application on multiple devices or emulators, where the device does have a “paid” Google license.
+1
source share

What I did was just open the Google application on your phone and check if it was updated, and also created an account. Once you do this, it will work

0
source share

All Articles