[英]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.