gpt4 book ai didi

android - 谷歌验证异常 : UNREGISTERED_ON_API_CONSOLE when trying to use Google Sheets API V4

转载 作者:行者123 更新时间:2023-11-29 02:38:54 38 4
gpt4 key购买 nike

我已经在 API 控制台上注册了我的应用程序 API Console

你可以在这里看到 SHA 1 key 匹配 SHA 1 key from console

list 中的包名也匹配 manifest

应用签名已配置 app signing

并且正在被调试版本使用 enter image description here

并且启用了 sheets API
enter image description here

然而每次我的代码尝试与工作表交互时我都会得到一个异常

Caused by: com.google.android.gms.auth.GoogleAuthException: UNREGISTERED_ON_API_CONSOLE

我在谷歌上搜索了很多,发现很多人都有同样的问题,但他们的解决方案是在 API 控制台上注册他们的调试指纹,我已经这样做了。

我还为生产生成了一个单独的 keystore 和 key ,在 API 控制台上进行了注册,然后构建了一个签名的 APK,但无济于事。

几天来我一直在努力解决这个问题,但我一直在反复研究它,但没有取得任何进展。我错过了什么?

最佳答案

您还可以检查错误是否由 AndroidManifest 中的包名称拼写错误引起.

附加引用:

  • GoogleCalendarAPI Unregistered on API console

    Ensure that you have annotated your Cloud Endpoints API correctly with the clientIds and audiences. The Android Audience value is the same as that of the Web Client Id. Make sure you have deployed the updated API and regenerated the Endpoints API sources for inclusion in your Android application.

关于android - 谷歌验证异常 : UNREGISTERED_ON_API_CONSOLE when trying to use Google Sheets API V4,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45528065/

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