Google Drive SDK - DrEdit Python - 网上应用店清单 [英] Google Drive SDK - DrEdit Python - Web Store Manifest
问题描述
我一直试图通过Google Drive的DrEdit python 示例 SDK。当我到达第4步时,创建一个网上商店列表,我遇到了问题。我如上所述修改了manifest.json文件。但是,在创建manifest.zip文件后,我无法从网上商店开发人员仪表板上载清单归档文件。我收到以下错误消息:
$ b
发生错误:无效清单如果您的清单包含注释,请删除它们,因为我们的图库不支持它们。
现在,如果我从清单中删除容器和api_console_project_id条目,则它可以正常上传。但是,如果没有这些条目,DrEdit应用程序将不会集成到Google Drive中,对吗?
我也尝试直接在Google Chrome中安装清单(开发者模式)。在这种情况下,我收到有关两个条目(未被识别)的警告。
如何解决此问题?是否可能设置示例应用程序文档已过期?
(编辑)
清单文件:
{
name:DrEdit,
version: 1.0.0.0,
manifest_version:2,
description:测试Google Drive应用程序,
container:GOOGLE_DRIVE,
api_console_project_id: dpederson-gae-dredit-api,
图标:{
128:icon-128.png
},
app:{
发布:{
web_url:https://dpederson-gae-dredit.appspot.com
}
}
}
App ID
值,这是您在注册应用时获得的值,如 https://developers.google.com/drive/register
I've been trying to work through the DrEdit python example for the Google Drive SDK. When I get to step 4, create a web store listing, I'm encountering a problem. I modified the manifest.json file as described. However, after I create the manifest.zip file, I am unable to upload the manifest archive from the web store developer dashboard. I receive the following error message:
"An error occurred: Invalid manifest. If your manifest includes comments, please remove them as our gallery does not support them yet."
Now, if I remove the 'container' and 'api_console_project_id' entries from the manifest, it uploads fine. However, without these entries, the DrEdit application will not be "integrated into Google Drive", correct?
I also tried to install the manifest in Google Chrome directly (developer mode). In this case, I get warnings about the two entries in question (not recognized).
How do I resolve this issue? Is it possible that the "Setting up the sample application" documentation is out of date?
(edit)
Manifest File:
{
"name" : "DrEdit",
"version" : "1.0.0.0",
"manifest_version": 2,
"description" : "Test Google Drive application",
"container" : "GOOGLE_DRIVE",
"api_console_project_id" : "dpederson-gae-dredit-api",
"icons": {
"128": "icon-128.png"
},
"app" : {
"launch" : {
"web_url" : "https://dpederson-gae-dredit.appspot.com"
}
}
}
The api_console_project_id
field is invalid. It should match the App ID
value from the Drive SDK tab of the APIs Console, the one you got when registering the app as explained at https://developers.google.com/drive/register
这篇关于Google Drive SDK - DrEdit Python - 网上应用店清单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!