连接现有的谷歌App Engine的后端与Android项目 [英] Connecting an EXISTING Google App Engine Backend with Android Project

查看:207
本文介绍了连接现有的谷歌App Engine的后端与Android项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在一个团队工作,我需要我的GAE连接到我的Andr​​oid应用程序(我有API Key和项目编号)。

We are working in a team and I need to connect my GAE to my Android app (I have Api Key and Project Number).

当我点击secondclick - >谷歌 - >生成App Engine的后端似乎创建一个新的后端我,而不是从云复制实例

When I click on secondclick -> Google -> Generate App Engine Backend it seems to create a new Backend for me instead copying the instances from the cloud.

我怎么能这样做呢?

我在做这个很新的

先谢谢了。

推荐答案

@Rafa
您需要将GAE项目与Android项目连接。您可以通过编辑Eclipse项目设置,做到这一点。

@Rafa You need to connect your GAE project with your android project. You can do this by editing eclipse project settings.

在项目.settings文件夹中创建一个com.google.gdt.eclipse.appengine.swarm。preFS,并添加connectedProject =。
做同样的你的Andr​​oid项目。

Create a com.google.gdt.eclipse.appengine.swarm.prefs in your project .settings folder and add "connectedProject=". Do the same for your android project.

我有同样的问题,一些谷歌上搜索后,我发现这个页面。它解决了我的问题。

I had the same problem and after some googling I found this page. It solved my problem.

<一个href=\"https://cloud.google.com/developers/articles/google-cloud-endpoints-for-android/#h.f7irpyw3cics\" rel=\"nofollow\">https://cloud.google.com/developers/articles/google-cloud-endpoints-for-android/#h.f7irpyw3cics

这篇关于连接现有的谷歌App Engine的后端与Android项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆