无法将应用上传到Chrome网上应用店-“此项目不是应用,请从清单中删除应用部分." [英] Cannot upload app to Chrome Web Store - "This item is not an app, please remove app section from manifest."
问题描述
上传我的应用程序时,我总是不断收到此错误:
I am constantly getting this error when uploading my app:
发生错误:无法处理您的商品.
此项目不是应用程序,请从清单中删除应用程序"部分.
An error occurred: Failed to process your item.
This item is not an app, please remove app section from manifest.
这是我的Chrome应用程序的清单文件(基于入门-Hello World 教程):
This is the manifest file for my Chrome app (based on the Getting started - Hello World tutorial):
{
"name":"App name",
"description":"app description",
"version":"1.0.4",
"manifest_version":2,
"app":{
"background":{
"scripts":["background.js"]
}
},
"icons":{
"16":"icon_16.png",
"18":"icon_128.png"
}
}
我尝试通过Chrome扩展程序部分在本地安装我的应用程序,并且工作正常.我可以在Chrome的应用程序"部分看到它已安装.
I tried to install my application locally through the Chrome extensions section and it works just fine. I can see it installed in the Apps section of Chrome.
但是,当我尝试通过将zip文件上传到Chrome网上应用店来发布应用时,我看到了前面提到的错误.
However, when I try to publish the app by uploading the zip file to the Chrome Web Store, I see the previously mentioned error.
推荐答案
[对于遇到相同错误消息时登陆此页面的任何人]:
上面提到的错误可能表明您正在尝试将Chrome应用作为不是不是Chrome应用的已上传项目的更新版本上传.
The error mentioned above is a possible indication that you are trying to upload your Chrome App as an updated version of an already uploaded item that is not a Chrome App.
这篇关于无法将应用上传到Chrome网上应用店-“此项目不是应用,请从清单中删除应用部分."的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!