Generate google-services.json for Android

拟墨画扇 提交于 2019-12-03 12:25:20

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.

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

So please do the following steps

Click on the GET A CONFIGURATION FILE

Now Choose your App Name.

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

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.

A guy from Google analytics team suggests the solution here.

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.

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.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!