gpt4 book ai didi

android - Firebase 谷歌身份验证在 Release模式下不起作用

转载 作者:太空狗 更新时间:2023-10-29 16:11:07 25 4
gpt4 key购买 nike

我正在使用 firebase 身份验证在 android studio 中构建应用程序...如何在 Release模式下使用 google 登录?它在 Debug模式下工作,但在 Release模式下不工作。

最佳答案

我遇到了类似的问题。它通过以下方式解决:

  • 转到谷歌游戏控制台
  • 发布管理 -> 应用签名
  • 应用签名证书中获取 SHA-1
  • 在控制台 firebase 中更新您的 SHA-1
  • 下载新文件 google-services.json
  • 在您的应用中更新文件 google-services.json
  • 创建新版本

关于android - Firebase 谷歌身份验证在 Release模式下不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48439480/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com