我正在尝试将一个新应用程序提交到 Firefox 市场,但我不知道为什么它显示以下错误..
您的应用验证失败,出现 1 个错误。从 zip 文件中提取清单时出错。
我也无法通过服务器将它安装到 b2g 移动设备,如此处所述......因为它说“在移动设备中下载失败。
这是我的清单文件
{ "name": "Check Location", "description": "This app allows you to check your Location!", "launch_path": "/app.html", "developer": { "name": "RB", "url": "http://nothing.me" }, "icons": { "16": "/img/icon16.png", "32": "/img/icon32.png", "48": "/img/icon48.png", "64": "/img/icon64.png", "128": "/img/icon128.png" }, "default_locale": "en", "permissions": { "geolocation": {
"description" : "Marking out user location"
} } }
这是 package.manifest
{ "name": "Check Location", "description": "This app allows you to check your Location!", "launch_path": "/app.html", "developer": { "name": "RB", "url": "http://nothing.me" }, "icons": { "16": "/img/icon16.png", "32": "/img/icon32.png", "48": "/img/icon48.png", "64": "/img/icon64.png", "128": "/img/icon128.png" }, "default_locale": "en", "permissions": { "geolocation": {
"description" : "Marking out user location"
} } }
我已经将 Index.html、css 和 js 文件夹粘贴到包文件夹中,并按照他们提到的方式对其进行了压缩。但是当我将 zip 文件上传到市场时,它会显示错误。请帮我解决这个问题。查看完整的代码在这里