Extension icons are missing once it is being uploaded to Chrome Web Store

Viewed 1821

I'm trying to upload my first Google Chrome extension, but I have a strange issue.

My manifest file is as follows:

{
  "manifest_version": 2,

  "name": "Chat About",
  "description": "Chat about the content of the web page you're currently visiting with other visitors.",
  "version": "0.0.1.1",

  "icons":
  {
    "16": "icon16.png",
    "32": "icon16.png",
    "48": "icon48.png",
    "128": "icon128.png"
  },

  "browser_action":
  {
    "default_icon": "icon.png",
    "default_popup": "popup.html"
  },
  "permissions":
  [
    "activeTab"
  ]
}

The content of the source directory is as follows:

icon.png
icon128.png
icon16.png
icon32.png
icon48.png
manifest.json
popup.html
popup.js

The unpacked extension icons appear, as shown here:

But as I'm trying to upload it to Chrome Web Store, the icons are missing, as shown here:

I couldn't find any solution to this issue. I have no idea what's wrong here.

3 Answers

My extension also got rejected because the Chrome Web Store couldn't find its icons. When loading the unpacked extension in development mode in Chrome, everything worked fine.

It seems like the Web Store is confused by paths that start with ./. The following manifest.json was rejected:

{
    // ...
    "icons": {
        "48": "./icons/icon-48.png",
        "128": "./icons/icon-128.png",
        "512": "./icons/icon-512.png",
        "1024": "./icons/icon-1024.png"
    }
}

The following worked:

{
    // ...
    "icons": {
        "48": "icons/icon-48.png",
        "128": "icons/icon-128.png",
        "512": "icons/icon-512.png",
        "1024": "icons/icon-1024.png"
    }
}

In my case the size of the 128px icon was wrong. I had to check again the dimensions of all icons (16,32,48,60,128) and upload zip again, with this I was able to solve it.

But I think the old dashboard is a good solution and the new one doesn't have it.

Related