简体   繁体   English

发布 G Suite 插件:部署包含空主机列表

[英]Publish G Suite Add-on: Deployment contains an empty host list

I want to publish a Google Docs add-on and follow the instructions at https://developers.google.com/gsuite/add-ons/how-tos/publishing-gsuite-addons .我想发布 Google Docs 插件并按照https://developers.google.com/gsuite/add-ons/how-tos/publishing-gsuite-addons上的说明进行操作。

I see an error: "G Suite Add-ons Extension Deployment contains an empty host list."我看到一条错误消息:“G Suite 附加组件扩展部署包含一个空的主机列表。”

My appsscript.json looks as follows:我的appsscript.json如下所示:

{
  "timeZone": "America/New_York",
  "dependencies": {},
  "exceptionLogging": "STACKDRIVER",
  "runtimeVersion": "V8",
  "oauthScopes": [
    "https://www.googleapis.com/auth/documents.currentonly",
    "https://www.googleapis.com/auth/script.container.ui"
  ],
  "addOns": {
    "common": {
      "name": "Markua Support",
      "logoUrl": "https://drive.google.com/file/d/17jUOuZuoQzFBPXkIFkAF_iH0Ck32dUD3/view"
    }
  }
}

Here's a screenshot with the error(s) I see.这是我看到的错误的屏幕截图。

在此处输入图片说明

Does anyone know how to resolve that?有谁知道如何解决?

Even though it's possible to check both the "G Suite Add-ons Extension" AND a checkbox under the "Editor Add-on Extensions" that will cause an error.即使有可能同时检查“G套房附加组件扩展”和一个复选框,在“编辑附加扩展”,这将导致错误。 Both shouldn't be checked.两者都不应该检查。 You need to use either one or the other.您需要使用其中之一。 If this is a Docs Add-on, then it's not an Extension.如果这是一个 Docs 插件,那么它就不是一个扩展。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法将Google编辑器附加组件发布到G Suite市场 - Unable to publish Google editor add-on to the G Suite Marketplace 我发布了一个 Google 表格插件,但它没有出现在 G Suite 市场列表中 - I published a Google Sheets add-on, but it's not appearing in the G Suite Marketplace list 在G Suite帐户上安装开发者Gmail加载项 - Installing developer gmail add-on on G Suite account 使用G suite插件向gmail消息添加图标 - Adding an icon to a gmail message using G suite add-on 带有附件的Google G-Suite表单上的自定义验证 - custom validation on Google G-Suite Form with an add-on 私下发布加载项 - Publish an add-on privately 如何在 G Suite 插件完全推出之前部署 Gmail 插件 - How to deploy a Gmail add-on until G Suite add-ons are fully rolled out 当我在 G-Suite 市场上更新 GAS 插件时,它会自动更新吗? - Do GAS add-on update automatically when I update it on G-Suite marketplace? 如何防止在鼠标按下时更改 G-Suite 插件按钮的背景颜色 - How to prevent change background-color of button for G-Suite add-on on mousedown G Suite Add-on 拒绝连接到驱动器? 如何解决“drive.google.com 拒绝连接”错误? - G Suite Add-on refusing to connect to drive? How to solve “drive.google.com refused to connect” error?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM