Google Chrome扩展错误:需要开发人员频道或更新版本

Google Chrome Extension error: Requires Dev Channel or Newer

本文关键字:频道 新版本 更新 开发 扩展 Chrome 错误 Google      更新时间:2023-09-26

我正在为chrome创建一个"url快捷方式"扩展。在将其添加到浏览器时,我收到以下错误:

尝试安装此扩展时出现警告:*"app.linked_idicons"需要Google Chrome开发频道或更新版本,但这是稳定的频道。

这是我的manifest.json:

{
    "manifest_version": 2,
    "name": "Google Fit",
    "short_name": "Fit",
    "description": "Google Fit",
    "key": "Eg+2zP54mEfjusi2n1/gjO7gvXchXiDBSaWgxn2Sssg=",
    "version": "1.0",
    "icons": {
        "128": "128.png"
    },
    "app": {
        "urls": [
            "https://fit.google.com/"
        ],
        "launch": {
            "web_url": "https://fit.google.com/"
        },
        "linked_icons": [  ]
    },
    "permissions": [
        "unlimitedStorage",
        "notifications"
    ]
}

应用程序中的linked_idicons应具有如下通道。

{
    "manifest_version": 2,
    "name": "Google Fit",
    "short_name": "Fit",
    "description": "Google Fit",
    "key": "Eg+2zP54mEfjusi2n1/gjO7gvXchXiDBSaWgxn2Sssg=",
    "version": "1.0",
    "icons": {
       "128": "128.png"
    },
    "app": {
        "urls": [
            "https://fit.google.com/"
        ],
        "launch": {
            "web_url": "https://fit.google.com/"
        },
        "linked_icons": [
           "channel" : "dev"
        ]
    },
    "permissions": [
        "unlimitedStorage",
        "notifications"
    ]
}

大多数用户都在Stable频道上,因为这是默认的可用下载

如果您想使用Dev或Canary版本。有关使用不同发布渠道的更多信息,请访问chromium.org上的Chrome发布渠道。