
>是否有可能以某种方式将该ID提供给项目?
>我想在我正在“API项目”下开发的完全相同的应用程序中使用Google Cloud Messaging API.我会为此创建另一个项目吗? (不确定单个AndroID项目是否可以通过不同的开发人员控制台项目访问各种API)
>如果这里不可能有几个项目,我是否应该担心他会错过ID? (注意:正如我上面提到的项目编号存在,虽然在许多教程中它也被称为项目ID).在阅读有关连接到Google云端存储的错误的几个主题后,我很担心:’缺少项目ID’,因为我不确定提到哪个ID.
Is it possible to somehow give that ID to the project?
是的.项目ID是可以分配给您自己的项目的可选标识符.有时,在没有手动创建的旧项目中,它恰好丢失了.当Google Cloud sql需要访问您项目的资源时,会使用此ID.在启用需要ID的服务之一之前,您无需为项目分配ID.如果您的项目还没有ID,请注册ID:
>打开注册对话框.这样做有两种选择.您可以在“服务”窗格中启用需要项目ID的服务. (没有办法提前告知给定服务是否需要项目ID;如果启用服务并且需要ID,则会出现对话框.)第二个选项:在“概述”窗格中,找到“项目ID”行,并且单击“注册”链接.
>在文本框中输入新项目ID.有关ID中允许使用哪些字符的详细信息,请参阅文本框下方的说明.
>项目ID在您的域中必须是唯一的.要确保您输入的ID尚未使用,请单击“检查可用性”按钮.如果出现错误消息,指出该ID不可用,请选择一个新ID.
>输入可用ID后,单击“选择此ID”按钮.
I want to use the Google Cloud Messaging API in the exactly same application I am develoPing under “API Project”. Shoud I create another Project for that? (Not sure if single AndroID project can acess varIoUs API’s through diferent Developers Console projects)
上面的答案提供了这个问题的答案:
You can use one project to manage all of your applications,or you can
create a different project for each one. In decIDing whether to create
a new project,consIDer whether you’re collaborating with a different
set of people,want to track usage differently,or would set different
traffic controls for each application. If so,segregating applications
by project in the Console might make sense. You can create as many
projects as you need,but please remember that you cannot use multiple
projects to try to exceed the limits for API usage by your
application.
因此,如果在技术上这是偶然的,那么这样做并不是建议的做法.
If it is not possible to have several projects here,should I be worrIEd about the missing ID? (Note: as I mentioned above Project Number is present,although in many tutorials it is referred also as Project ID). I am worrIEd after reading several threads about
Error connecting to Google Cloud Storage: 'missing project ID'because I am not sure which one ID is being mentioned.
使用Google Cloud Messaging API时,如果缺少项目ID,则应该没有问题.只有特定的API(例如,Google Cloud sql,如上所述)才需要它,在这种情况下,一旦您在项目中启用了这些API,d出的对话框窗口就会强制手动创建它.
总结以上是内存溢出为你收集整理的android – API项目缺少Google Developers Console中的项目ID全部内容,希望文章能够帮你解决android – API项目缺少Google Developers Console中的项目ID所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)