Skip to content Skip to sidebar Skip to footer

Generate Google-services.json For Android

This might be a stupid question but I am facing an issue when trying to generate my google-services.json file for my app. I am following this guide from the google developers team

Solution 1:

You are trying this link while configuration https://developers.google.com/analytics/devguides/collection/android/v4/start

So please do the following steps enter image description here

Click on the GET A CONFIGURATION FILE

Now Choose your App Name. enter image description here

Click Configuration Services After that the 3rd Window will be open

enter image description here

Now Choose your Analytics account of your Apps.

Hurry you have done.

Please use all the process and done as it is you can do it.

Let me know if still you have any problem.

Solution 2:

Well well, got a workaround. You console log helped: I clicked on the URL in the log ("https://accounts.google.com/ServiceLogin?service=cloudconsole&osid=1&passiv…3Dtrue%26cntlbl%3DContinue%2BAdding%2BAnalytics%26cntapi%3Danalytics&hl=en") and it led me to the right page and I have been able to generate a google-services.json for my app.

Solution 3:

A guy from Google analytics team suggests the solution here.

Solution 4:

Try going through this website to get your configuration file - its the one for Cloud Messaging but it has a button that says "GET CONFIGURATION FILE":

https://developers.google.com/cloud-messaging/android/client

Also I did experience the same problem last week sometime when configurating cloud messaging myself but it seemed to have resolved itself in the afternoon so it could just be a one day error thing.

Solution 5:

Steps for getting configuration if your first time login to google developer account.

  1. open google developer console.
  2. login to developer console.
  3. create project with valid name.
  4. then goto the API section & enable GCM API.
  5. Then get the configuration file.

Post a Comment for "Generate Google-services.json For Android"