google-app-invites – Google App邀请 – 邮件无法发送

我在发送应用邀请时收到以下错误:

generic::INVALID_ARGUMENT: com.google.apps.framework.request.BadRequestException: No associated application and/or client ID found for package name

一些信息:

>我已尝试使用签名发布密钥和调试密钥
>我的应用程序在Play商店上发布

有人对此有所了解吗?

最佳答案 就像错误指定的那样,找不到该应用的客户端ID.

你需要:

Go to developer console projects
APIs & auth
Credentials
Create new client ID:
  Installed application
  Android
  Enter package name
  Enter SHA1 for RELEASE OR DEBUG (which ever one you want it to work with)
  Make deep linking choice
  Create

我不打算解释如何获得SHA1或其他任何东西,因为可以很容易地找到它.

可能会有更多,但因为我已经设置了东西,并没有删除任何东西,看看是否还需要其他东西.但是,这确实解决了这个错误.

此外,要求在应用邀请的开发者页面获取的google-services.json文件无需让应用邀请功能正常运行.

点赞