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 .
I see an error: "G Suite Add-ons Extension Deployment contains an empty host list."
My appsscript.json
looks as follows:
{
"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. 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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.