Where to put credentials.json in Android Studio

前端 未结 2 698
情书的邮戳
情书的邮戳 2021-01-03 22:27

I have made a project involving Google Login.

The file downloaded was credentials.json.

Where do I put this?

Since when this has been changed from g

相关标签:
2条回答
  • 2021-01-03 22:39

    The most common place is in your project_folder/app folder.

    0 讨论(0)
  • 2021-01-03 22:56

    You don't need the credentials.json file to add basic google sign in to your app

    follow this url and click the Configure a project button to add the package name and key sha-1 fingerprint and you should be good to go

    https://developers.google.com/identity/sign-in/android/start-integrating

    check the this google sample project for a full implementation

    https://github.com/googlesamples/google-services/tree/master/android/signin

    0 讨论(0)
提交回复
热议问题