You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Android Studio Electric Eel版本App Quality Insights报invalid_grant错误求助

解决Android Studio Electric Eel中App Quality Insights的400 invalid_grant错误
  • 清除Firebase本地凭据
    找到Android Studio对应版本的Firebase凭据存储目录,删除目录内所有文件后重启软件并重新登录Firebase账号:

    • Windows:C:\Users\<你的用户名>\.AndroidStudioElectricEel\config\plugins\firebase\credentials
    • macOS:~/Library/Application Support/Google/AndroidStudioElectricEel/plugins/firebase/credentials
    • Linux:~/.AndroidStudioElectricEel/config/plugins/firebase/credentials
  • 核对项目Firebase配置文件
    确认本地项目的google-services.json和同事的完全一致,重点检查client_id、project_id等核心字段,避免配置文件损坏或不匹配。

  • 重新关联Firebase项目
    打开Android Studio的Tools > Firebase菜单,找到App Quality Insights模块,先断开当前关联的项目,再重新选择对应项目完成关联流程,确保授权步骤完整执行。

  • 排查代理与防火墙干扰
    检查本地是否有拦截Google服务请求的代理或防火墙设置,这类限制可能导致授权请求异常,返回invalid_grant错误。

  • 重新登录Google账号
    退出Android Studio中所有Google账号,重启软件后重新登录你的开发者账号,避免多账号登录引发的权限冲突。

内容的提问来源于stack exchange,提问作者Skullper

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.03 03:41:41