如何修复Fastlane供应丢失_电子邮件

时间:2018-10-12 07:37:01

标签: continuous-integration google-oauth fastlane

Fastlane最终给了我这个错误:

/root/.rubygems/gems/googleauth-0.6.6/lib/googleauth/json_key_reader.rb:39:in `read_json_key': [!] missing client_email (RuntimeError)

这是我的google-services.json

{
  "project_info": {
    "project_number": <number>,
    "firebase_url": <firebase_url>,
    "project_id": <project_id>,
    "storage_bucket": <storage_bucket>
  },
  "client": [
    {
      "client_info": {
        "mobilesdk_app_id": <mob_app_id>,
        "android_client_info": {
          "package_name": <package_name>
        }
      },
      "oauth_client": [
        {
          "client_id": <client_id>,
          "client_type": <client_type>
        }
      ],
      "api_key": [
        {
          "current_key": <current_key>
        }
      ],
      "services": {
        "analytics_service": {
          "status": 1
        },
        "appinvite_service": {
          "status": 1,
          "other_platform_oauth_client": []
        },
        "ads_service": {
          "status": 2
        }
      }
    }
  ],
  "configuration_version": "1"
}

我试图搜索client_email键的位置,但无法获得此子文件格式的信息。或者至少我发现的格式根本不符合我的格式。

问题:

1)我必须在JSON中插入client_email才能使其正常工作吗?

2)电子邮件是否必须与Google Play帐户中的内容匹配?

0 个答案:

没有答案