{
  "id": "01a0f211-3226-77bd-a652-e083c5cb787f",
  "title": "Google Antigravity 使用指南",
  "slug": "71umdtyqyn0jlp9",
  "editDate": "2026-10-12T09:28:12.478247539Z",
  "createDate": "2026-09-30T11:28:15.137960155Z",
  "tags": [
    "技术"
  ],
  "summary": "本文介绍 Google Antigravity 的下载安装、VS Code 插件配置，以及账号地区限制、二次验证等常见问题的原因与解决方法，帮助用户快速完成部署与排障。",
  "coverImage": "/post-images/71umdtyqyn0jlp9/cover-013342307d63.webp",
  "shareImage": "/post-images/71umdtyqyn0jlp9/cover-013342307d63.jpg",
  "html": "<h2 id=\"heading-使用指南-0\"><strong>使用指南</strong></h2><h3 id=\"heading-1-下载-google-antigravity-1\"><strong>1. 下载 Google Antigravity</strong></h3><p>访问 <a href=\"https://www.plumwinter.com/plugins/plugin-safe-redirect/go?url=https%3A%2F%2Fantigravity.google%2Fdownload\"><u>Google Antigravity官网</u></a> 下载对应的文件。</p><p>这里一定要注意，你下载的是应用本体还是 IDE 开发程序。</p><h3 id=\"heading-2-安装应用程序-2\"><strong>2. 安装应用程序</strong></h3><p>如果是使用的 Windows IDE 开发程序，这里要注意，你是否是用 Administrator 权限账户进行的安装。</p><p>如果是用 Administrator 权限账户安装，有概率触发程序崩溃，从而导致电脑上所有使用 Chromium 沙盒的程序启动失败。</p><h2 id=\"heading-vs-code-插件使用指南-3\"><strong>VS Code 插件使用指南</strong></h2><h3 id=\"heading-1-安装-google-antigravity-插件-4\"><strong>1. 安装 Google Antigravity 插件</strong></h3><p>打开 Visual Studio Code，在应用的插件市场进行安装</p><figure class=\"post-figure\"><img src=\"/post-images/71umdtyqyn0jlp9/img-1-61ff4f88c482.webp\" alt=\"图1  Google Antigravity 插件\" width=\"968\" height=\"454\" decoding=\"async\" class=\"zoom-image\" tabindex=\"0\" role=\"button\" data-gallery-index=\"0\" aria-label=\"查看大图：图1  Google Antigravity 插件\"><figcaption class=\"image-caption\">图1 Google Antigravity 插件</figcaption></figure><h3 id=\"heading-2-配置命令自动批准-5\"><strong>2. 配置命令自动批准</strong></h3><p>Antigravity 在进行自动化任务时，默认需要进行人工命令审核。为了方便，我们可以开启命令放行。</p><p><strong>操作方法：</strong> 点击右下角的 <code>Antigravity - Setting</code> --&gt; 弹出的窗口选择 <code>General</code> --&gt; 修改 <code>Global Permissions</code> 相关设置</p><figure class=\"post-figure\"><img src=\"/post-images/71umdtyqyn0jlp9/img-2-8180b1601073.webp\" width=\"1617\" height=\"822\" decoding=\"async\" class=\"zoom-image\" tabindex=\"0\" role=\"button\" data-gallery-index=\"1\" alt=\"图2 配置 Google Antigravity 审批权限\" aria-label=\"查看大图：图2 配置 Google Antigravity 审批权限\"><figcaption class=\"image-caption\">图2 配置 Google Antigravity 审批权限</figcaption></figure><blockquote><p><strong>特别说明：</strong></p><p>我这里是将 Antigravity 安装在虚拟机进行操作的。如果是在个人电脑或者连接了生产环境，最好是进行人工命令审核。</p></blockquote><h2 id=\"heading-故障排除-6\"><strong>故障排除</strong></h2><h3 id=\"heading-1-account-ineligible账号不符合资格-7\"><strong>1. Account Ineligible（账号不符合资格）</strong></h3><h4 id=\"%E5%8E%9F%E5%9B%A0%E5%88%86%E6%9E%90\"><strong>原因分析</strong></h4><p>因为 Google 账号地区不符合/没有通过年龄认证，触发了登录拦截。</p><figure class=\"post-figure\"><img src=\"/post-images/71umdtyqyn0jlp9/img-3-cd40f1c99740.webp\" width=\"891\" height=\"420\" decoding=\"async\" class=\"zoom-image\" tabindex=\"0\" role=\"button\" data-gallery-index=\"2\" alt=\"图3 Account Ineligible 报错\" aria-label=\"查看大图：图3 Account Ineligible 报错\"><figcaption class=\"image-caption\">图3 Account Ineligible 报错</figcaption></figure><h4 id=\"%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88\"><strong>解决方案</strong></h4><ol><li><p>打开 <a href=\"https://www.plumwinter.com/plugins/plugin-safe-redirect/go?url=https%3A%2F%2Fpolicies.google.com%2Fterms\"><u>Google隐私权和条款</u></a> 确认当前谷歌账号地区。</p></li></ol><figure class=\"post-figure\"><img src=\"/post-images/71umdtyqyn0jlp9/img-4-0207ae5307ef.webp\" alt=\"图4  确认当前 Google 账户所属地区\" width=\"479\" height=\"168\" decoding=\"async\" class=\"zoom-image\" tabindex=\"0\" role=\"button\" data-gallery-index=\"3\" aria-label=\"查看大图：图4  确认当前 Google 账户所属地区\"><figcaption class=\"image-caption\">图4 确认当前 Google 账户所属地区</figcaption></figure><blockquote><p><strong>特别说明</strong></p><ul><li><p>修改地区前，最好匹配你使用的 VPN/代理节点，具体的支持国家可以参考 <a href=\"https://www.plumwinter.com/plugins/plugin-safe-redirect/go?url=https%3A%2F%2Fantigravity.google%2Fdocs%2Ffaq\"><u>Google Antigravity 支持的国家或地区</u></a>。</p></li><li><p>按照 Google 政策，账号关联地区每年仅允许修改一次，即修改成功后一年之内不允许再次修改，进行下方操作前请慎重！</p></li></ul></blockquote><p>如果你的账户所属国家显示为中国，可以访问 <a href=\"https://www.plumwinter.com/plugins/plugin-safe-redirect/go?url=https%3A%2F%2Fpolicies.google.com%2Fcountry-association-form\"><u>Google 账号关联地区更改请求</u></a>，登录自己的账号提交修改地区的请求，可以参考我的选择。</p><figure class=\"post-figure\"><img src=\"/post-images/71umdtyqyn0jlp9/img-5-cbb62d71d584.webp\" alt=\"图5  提交 Google 账号账号关联地区更改请求\" width=\"787\" height=\"530\" decoding=\"async\" class=\"zoom-image\" tabindex=\"0\" role=\"button\" data-gallery-index=\"4\" aria-label=\"查看大图：图5  提交 Google 账号账号关联地区更改请求\"><figcaption class=\"image-caption\">图5 提交 Google 账号账号关联地区更改请求</figcaption></figure><p></p><h3 id=\"heading-2-further-action-verify二次验证-8\"><strong>2. Further Action Verify（二次验证）</strong></h3><h4 id=\"%E5%8E%9F%E5%9B%A0%E5%88%86%E6%9E%90-1\"><strong>原因分析</strong></h4><p>登录 Google Antigravity 遇到拦截，出现如下图所示的信息。点击 Verify 出现手机扫码验证。</p><figure class=\"post-figure\"><img src=\"/post-images/71umdtyqyn0jlp9/img-6-cf8a11315cb0.webp\" alt=\"图6  Further Action Verify 报错\" width=\"1837\" height=\"939\" decoding=\"async\" class=\"zoom-image\" tabindex=\"0\" role=\"button\" data-gallery-index=\"5\" aria-label=\"查看大图：图6  Further Action Verify 报错\"><figcaption class=\"image-caption\">图6 Further Action Verify 报错</figcaption></figure><blockquote><p><strong>提示</strong></p><ul><li><p>如果能直接扫码并发送国际短信（中国大陆运营商目前已默认关闭国际短信出口）通过验证，下方的步骤可以不进行操作。</p></li><li><p>如果你之前在 Google Cloud 进行过验证，理论上也不需要执行下述操作，直接点击 <code>Verify</code> 会自动通过。</p></li></ul></blockquote><h4 id=\"%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88-1\"><strong>解决方案</strong></h4><p>由于 Antigravity 和谷歌云 Google Cloud 的二次手机验证是通用的，我们借助谷歌云 Google Cloud 的手机验证码通道来跳过。</p><p>浏览器访问 <a href=\"https://www.plumwinter.com/plugins/plugin-safe-redirect/go?url=https%3A%2F%2Fdocs.cloud.google.com%2Fdocs%2Fauthentication%3Fhl%3Dzhcn%26cloudshell%3Dtrue%23service_accounts\"><u>Google 的身份验证方法</u></a> 登录账户授权，一步步确认下去，会出现一个新的弹窗</p><p>在新的弹窗界面，不要选择扫描二维码，而是通过接收手机验证码验证，验证通过后回到原界面，点击 <code>Verify</code> 会自动通过验证。</p><figure class=\"post-figure\"><img src=\"/post-images/71umdtyqyn0jlp9/img-7-3d86134de3b0.webp\" alt=\"图7  Google Cloud 验证码验证\" height=\"523\" width=\"1440\" decoding=\"async\" class=\"zoom-image\" tabindex=\"0\" role=\"button\" data-gallery-index=\"6\" aria-label=\"查看大图：图7  Google Cloud 验证码验证\"><figcaption class=\"image-caption\">图7 Google Cloud 验证码验证</figcaption></figure><blockquote><p><strong>特别说明</strong></p><ul><li><p>接收验证码的手机号，最好和你 Google 账户的归属地保持一致</p></li><li><p>一个手机号只能验证反重力一次(美国可以考虑 Google Voice 接码验证)</p></li></ul></blockquote><p></p>",
  "toc": [
    {
      "id": "heading-使用指南-0",
      "text": "使用指南",
      "level": 2
    },
    {
      "id": "heading-1-下载-google-antigravity-1",
      "text": "1. 下载 Google Antigravity",
      "level": 3
    },
    {
      "id": "heading-2-安装应用程序-2",
      "text": "2. 安装应用程序",
      "level": 3
    },
    {
      "id": "heading-vs-code-插件使用指南-3",
      "text": "VS Code 插件使用指南",
      "level": 2
    },
    {
      "id": "heading-1-安装-google-antigravity-插件-4",
      "text": "1. 安装 Google Antigravity 插件",
      "level": 3
    },
    {
      "id": "heading-2-配置命令自动批准-5",
      "text": "2. 配置命令自动批准",
      "level": 3
    },
    {
      "id": "heading-故障排除-6",
      "text": "故障排除",
      "level": 2
    },
    {
      "id": "heading-1-account-ineligible账号不符合资格-7",
      "text": "1. Account Ineligible（账号不符合资格）",
      "level": 3
    },
    {
      "id": "heading-2-further-action-verify二次验证-8",
      "text": "2. Further Action Verify（二次验证）",
      "level": 3
    }
  ],
  "images": [
    {
      "src": "/post-images/71umdtyqyn0jlp9/img-1-61ff4f88c482.webp",
      "alt": "图1  Google Antigravity 插件"
    },
    {
      "src": "/post-images/71umdtyqyn0jlp9/img-2-8180b1601073.webp",
      "alt": "图2 配置 Google Antigravity 审批权限"
    },
    {
      "src": "/post-images/71umdtyqyn0jlp9/img-3-cd40f1c99740.webp",
      "alt": "图3 Account Ineligible 报错"
    },
    {
      "src": "/post-images/71umdtyqyn0jlp9/img-4-0207ae5307ef.webp",
      "alt": "图4  确认当前 Google 账户所属地区"
    },
    {
      "src": "/post-images/71umdtyqyn0jlp9/img-5-cbb62d71d584.webp",
      "alt": "图5  提交 Google 账号账号关联地区更改请求"
    },
    {
      "src": "/post-images/71umdtyqyn0jlp9/img-6-cf8a11315cb0.webp",
      "alt": "图6  Further Action Verify 报错"
    },
    {
      "src": "/post-images/71umdtyqyn0jlp9/img-7-3d86134de3b0.webp",
      "alt": "图7  Google Cloud 验证码验证"
    }
  ],
  "wordCount": 868,
  "readingMinutes": 4,
  "searchText": "google antigravity 使用指南 本文介绍 google antigravity 的下载安装、vs code 插件配置,以及账号地区限制、二次验证等常见问题的原因与解决方法,帮助用户快速完成部署与排障。 技术 使用指南1. 下载 google antigravity访问 google antigravity官网 下载对应的文件。这里一定要注意,你下载的是应用本体还是 ide 开发程序。2. 安装应用程序如果是使用的 windows ide 开发程序,这里要注意,你是否是用 administrator 权限账户进行的安装。如果是用 administrator 权限账户安装,有概率触发程序崩溃,从而导致电脑上所有使用 chromium 沙盒的程序启动失败。vs code 插件使用指南1. 安装 google antigravity 插件打开 visual studio code,在应用的插件市场进行安装图1 google antigravity 插件2. 配置命令自动批准antigravity 在进行自动化任务时,默认需要进行人工命令审核。为了方便,我们可以开启命令放行。操作方法: 点击右下角的 antigravity - setting --> 弹出的窗口选择 general --> 修改 global permissions 相关设置图2 配置 google antigravity 审批权限特别说明:我这里是将 antigravity 安装在虚拟机进行操作的。如果是在个人电脑或者连接了生产环境,最好是进行人工命令审核。故障排除1. account ineligible(账号不符合资格)原因分析因为 google 账号地区不符合/没有通过年龄认证,触发了登录拦截。图3 account ineligible 报错解决方案打开 google隐私权和条款 确认当前谷歌账号地区。图4 确认当前 google 账户所属地区特别说明修改地区前,最好匹配你使用的 vpn/代理节点,具体的支持国家可以参考 google antigravity 支持的国家或地区。按照 google 政策,账号关联地区每年仅允许修改一次,即修改成功后一年之内不允许再次修改,进行下方操作前请慎重!如果你的账户所属国家显示为中国,可以访问 google 账号关联地区更改请求,登录自己的账号提交修改地区的请求,可以参考我的选择。图5 提交 google 账号账号关联地区更改请求2. further action verify(二次验证)原因分析登录 google antigravity 遇到拦截,出现如下图所示的信息。点击 verify 出现手机扫码验证。图6 further action verify 报错提示如果能直接扫码并发送国际短信(中国大陆运营商目前已默认关闭国际短信出口)通过验证,下方的步骤可以不进行操作。如果你之前在 google cloud 进行过验证,理论上也不需要执行下述操作,直接点击 verify 会自动通过。解决方案由于 antigravity 和谷歌云 google cloud 的二次手机验证是通用的,我们借助谷歌云 google cloud 的手机验证码通道来跳过。浏览器访问 google 的身份验证方法 登录账户授权,一步步确认下去,会出现一个新的弹窗在新的弹窗界面,不要选择扫描二维码,而是通过接收手机验证码验证,验证通过后回到原界面,点击 verify 会自动通过验证。图7 google cloud 验证码验证特别说明接收验证码的手机号,最好和你 google 账户的归属地保持一致一个手机号只能验证反重力一次(美国可以考虑 google voice 接码验证)",
  "dataSource": "halo",
  "sourceVersion": "a36df7ec9eff4aea9fee697209d1339fdd269d7a848010242c461deafe735694",
  "syncSchemaVersion": 9
}