"The manifest file is invalid"

I am updating the manifest version of the Chrome extension extension.

It works in my local machine.

When I try to install through the test group, it shows the error "Invalid manifest file."

Here is my manifest:

{
  "name": "MercadoLivre - Sugestões de busca",
  "description" : "Busque no MercadoLivre direto da barra de endereços",

  "version": "0.12",
  "manifest_version": 2,

  "icons": { "128": "logo.png" },

  "background": {
    "page": "background.html"
  },

  "content_security_policy": "script-src 'self' https://ssl.google-analytics.com; object-src 'self'",

  "omnibox": { "keyword" : "ml" },

  "permissions": [
    "http://suggest.mlapps.com/jm/*"
  ]
}

How can i fix this?

+5
source share
4 answers

Exit and work for me.

+4
source

For me, the error was the result of updating my plugin, and then tried to install it immediately. When I waited a few minutes, the error no longer appeared. Google extension servers are probably not synchronized for several minutes during the time required to distribute the new update.

+3

I had the same problem today. Restarting worked for me. I got this idea from a Chromium bug report. Although sometimes this is a pressing problem with packaging.

0
source

I also have this error, I think maybe your resources are located under the SkyDrive folder or some Soft command code. Try copying resources to another path, such as the desktop. pack your plugin with a new path, then you can solve it!

0
source

All Articles