Error while publishing to chrome web store

2019-07-02 21:29发布

I get an error while publishing my demo project (a google apps marketplace application) in chrome web store to my own domain. I get the below error.

"API Console project with the id specified in the manifest's api_console_project_id field, does not have Google Apps Marketplace SDK enabled."

I have enabled Google Apps Marketplace SDK and Google Apps Marketplace API as well for the particular project.

Also, I have not gotten my application reviewed by google. Do I have to get this reviewed even if I am publishing to my own domain?

Update:

Manifest file

{
    "name": "Demo of single sign on",
    "version": "0.3",
    "manifest_version": 2,
    "description": "Demo of single signon",
    "icons": {
        "128": "images/big.png",
        "16": "images/small.png"
    },
    "container": ["DOMAIN_INSTALLABLE"],
    "api_console_project_id": "681817309175",
    "app": {
        "launch": {
            "web_url": "https://demoappnamehere.appspot.com"
        }
    }
}

sdk settings

developer console

enter image description here

4条回答
Fickle 薄情
2楼-- · 2019-07-02 21:42

Apparently, Google Apps Marketplace SDK must not only be enabled, but also configured.

So:

  • Go to the Google developer console.
  • Select your project.
  • Go to APIs and auth > APIs
  • In the All APIs tab, use the search box to find the Google Apps Marketplace SDK and click it.
  • Click Enable API. If you followed the recommendation in the error message in the Marketplace, you already did all this.
  • Still in the Google Apps Marketplace SDK page, select the API Configuration tab and then click the link to go to the original console.
  • In this new form, make sure to fill all required fields (alright, click "Save" at the bottom and see what happens).

I have tested a bunch of other "solutions" before I could make this work. Just in case the procedure above doesn't work as is, here what I also did in the developer console:

  • Enable the Google Cloud Deployment Manager API
  • Enable the Drive SDK
查看更多
叛逆
3楼-- · 2019-07-02 21:42

In the first screenshot, you need to upload all application icons (32x32, 48x48...), specify TOS Url, add any OAuth2 scopes your app requests and at least select either "Universal Navigation Extension" or "Drive Extension". Remember to click 'save' button at the bottom and make sure changes are successfully saved.

查看更多
仙女界的扛把子
4楼-- · 2019-07-02 21:56

The ID in "api_console_project_id": "681817309175", doesn't look correct. Have you confirmed this matches the 'Project ID' noted in the 'Overview' section of the API console (top left of the page)?

查看更多
欢心
5楼-- · 2019-07-02 21:57

api_console_project_id

api_console_project_id != projectid

api_console_project_id == projectnumber

查看更多
登录 后发表回答