如何在我的Android应用程序中添加多个SHA1指纹进行测试? [英] How to add multiple SHA1 fingerprints to my Android App for testing?

查看:144
本文介绍了如何在我的Android应用程序中添加多个SHA1指纹进行测试?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Android应用程序已经在Google开发者控制台上具有SHA1指纹,该指纹是由另一位开发者在一段时间前生成的.现在,我正在调试应用程序中的Google登录错误,事实证明Google登录使用在.android/debug.keystore中找到的默认SHA-1在OAuth身份验证过程中进行请求.昨天我生成了一个新的调试密钥,因为毕竟它是调试的.

My Android App already has a SHA1 fingerprint on Google developers console generated by another developer some time back. Now, I am debugging Google Sign-in bug in the App and it turns out that Google Sign in uses the default SHA-1 found in .android/debug.keystore to make a request in the OAuth authentication process. And I had generated a new debug key yesterday because after all it is debug.

如何将这个新的调试密钥添加或合并到Google的开发者控制台中以成功完成登录请求?(我不想替换旧密钥)

How do I add or incorporate this new debug key to Google's developer console to make a successful Sign in request?(I don't want to replace the old key)

推荐答案

转到Google Cloud Platform Console或Firebase.您将在此处找到该项目.单击项目,您将进入相同的仪表板.在仪表板的底部,将有SHA键.单击添加密钥,然后在其中添加新密钥.您在应用中使用的Google服务现在可以正常运行.

Go to Google Cloud Platform Console or Firebase. You'll find the project there. Click on the project and you'll get into the dashboard of the same. In the bottom of the dashboard there'll be SHA key. Click add key and add the new key there. The Google Services which you have used in the app will run fine now.

这篇关于如何在我的Android应用程序中添加多个SHA1指纹进行测试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆