无法部署Android应用程序引擎项目上的谷歌应用程序引擎 [英] Unable to Deploy Android App Engine Project on Google App Engine

查看:228
本文介绍了无法部署Android应用程序引擎项目上的谷歌应用程序引擎的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建的Andr​​oid +谷歌App Engine的一个微笑的应用程序在月食。我试图部署在谷歌应用引擎的应用程序,但它显示错误消息

I am create one smile application in Android + Google App Engine in eclipse. i am trying to deploy that app on Google app Engine but it show the error message

登录猫:

无法更新: com.google.appengine.tools.admin.HttpIoException:错误张贴到网址:<一href="https://appengine.google.com/api/appversion/getresourcelimits?app_id=AppEngineTest2&version=1&">https://appengine.google.com/api/appversion/getresourcelimits?app_id=AppEngineTest2&version=1& 400错误的请求

Unable to update: com.google.appengine.tools.admin.HttpIoException: Error posting to URL: https://appengine.google.com/api/appversion/getresourcelimits?app_id=AppEngineTest2&version=1& 400 Bad Request

客户端错误(400) 该请求,原因不明无效的。

Client Error (400) The request is invalid for an unspecified reason.

at com.google.appengine.tools.admin.AbstractServerConnection.send1(AbstractServerConnection.java:282)
at com.google.appengine.tools.admin.AbstractServerConnection.send(AbstractServerConnection.java:235)
at com.google.appengine.tools.admin.AbstractServerConnection.post(AbstractServerConnection.java:214)
at com.google.appengine.tools.admin.ResourceLimits.remoteRequest(ResourceLimits.java:160)
at com.google.appengine.tools.admin.ResourceLimits.request(ResourceLimits.java:127)
at com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java:323)
at com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:52)
at com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy(AppEngineBridgeImpl.java:400)
at com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace(DeployProjectJob.java:148)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

任何一个有简单的例子(来源与code)条的Andr​​oid +谷歌应用引擎(C2DM),请分享..

Any one have simple Example(with Source code ) of Android + Google App Engine (c2dm) please share it ..

推荐答案

我遇到了同样的问题,因为你并通过以下方式解决它:

I encountered the same problem as you and solved it in the following way:

  1. 在上传时,首先必须建立在App Engine的管理控制台应用程序(见<一href="https://developers.google.com/appengine/docs/java/gettingstarted/uploading">https://developers.google.com/appengine/docs/java/gettingstarted/uploading)

请检查您的应用程序ID。 应用程序标识符必须在6至30个字符之间。只有小写字母,数字和连字符( - )是可以接受的人物。前导和尾随连字符是禁止的。 - 这意味着大写字母不允许

Check your application id. The Application Identifier must be between 6 and 30 characters. Only Lowercase letters, digits, and hyphens (-) are acceptable characters. Leading and trailing hyphens are prohibited. - which means that Uppercase letters are not allowed.

AppEngine上 - web.xml中需要与你所创建的管理控制台应用程序相同的应用程序ID。将应用程序标记之间的应用程序ID。

appengine-web.xml needs the same application id with which you have created your application in the Administration console. Put this application id between the application tag.

现在您可以部署使用Eclipse的应用程序

Now you can deploy the application with Eclipse

这篇关于无法部署Android应用程序引擎项目上的谷歌应用程序引擎的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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