[英]registering app / deploying with Google App Engine and Android
I am trying to deploy a very simple app on app engine using Eclipse and the provided Google plugin. 我正在尝试使用Eclipse和提供的Google插件在应用程序引擎上部署一个非常简单的应用程序。
I created the simplest possible android app which starts the RegisterActivity generated by the plugin, where I did plug the ID, Api Key and project number. 我创建了最简单的Android应用程序,该应用程序启动了由插件生成的RegisterActivity,并在其中插入了ID,Api Key和项目号。 I then click on the button but I get this error message :
然后,我单击按钮,但收到此错误消息:
11-25 16:53:50.372: E/com.example.a123.GCMIntentService(25146): Exception received when attempting to register with server at https://blabla-my-app67.appspot.com/_ah/api/
11-25 16:53:50.372: E/com.example.a123.GCMIntentService(25146): com.google.api.client.googleapis.json.GoogleJsonResponseException: 404 Not Found
11-25 16:53:50.372: E/com.example.a123.GCMIntentService(25146): Not Found
Although, the console tells me that there is one instance up and running and the LOCAL_ANDROID_RUN variable in CloudEndpointUtils.java is set to false. 虽然,控制台告诉我有一个实例正在运行,并且CloudEndpointUtils.java中的LOCAL_ANDROID_RUN变量设置为false。
Indeed, it seems that for instance this URL : http://blabla-my-app67.appspot.com/_ah/api/explorer%20pagereturns me 404 error. 确实,似乎该URL例如: http : //blabla-my-app67.appspot.com/_ah/api/explorer%20page返回了404错误。
How is that possible and what can I be doing wrong ? 那怎么可能,我该怎么做错呢?
Thank you a lot in advance. 提前非常感谢。
Al 铝
EDIT : 编辑:
blabla-my-app67.appspot.com/_ah/api/explorer is not a 404 but http://blabla-my-app67.appspot.com/_ah/api is. blabla-my-app67.appspot.com/_ah/api/explorer不是404,而http://blabla-my-app67.appspot.com/_ah/api是404。
EDIT SOLUTION : You absolutly need to be compiling with java JRE 1.7 !! 编辑解决方案:您绝对需要使用Java JRE 1.7进行编译!
SOLUTION 解
You absolutly need to be compiling with java JRE 1.7 !! 您绝对需要使用Java JRE 1.7进行编译! 1.8 does not work..
1.8不起作用..
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.