0
我用Creating an App Engine Connected Android Project使用eclipse,并将LOCAL_ANDROID_RUN更改为true。我搜索了这个错误,好像在web应用程序运行配置中的端口之前添加--address = 0.0.0.0会使其工作,但它没有,所以帮助?Google云消息端点注册失败本地
logcat的
04-01 19:43:27.524: E/com.imagine.GCMIntentService(2120): Exception received when attempting to register with server at http://10.0.2.2:8888/_ah/api/
04-01 19:43:27.524: E/com.imagine.GCMIntentService(2120): com.google.api.client.googleapis.json.GoogleJsonResponseException: 503 Service Unavailable
04-01 19:43:27.524: E/com.imagine.GCMIntentService(2120): {
04-01 19:43:27.524: E/com.imagine.GCMIntentService(2120): "code" : 503,
04-01 19:43:27.524: E/com.imagine.GCMIntentService(2120): "errors" : [ {
04-01 19:43:27.524: E/com.imagine.GCMIntentService(2120): "domain" : "global",
04-01 19:43:27.524: E/com.imagine.GCMIntentService(2120): "message" : "java.lang.NoClassDefFoundError: Could not initialize class com.imagine.EMF",
04-01 19:43:27.524: E/com.imagine.GCMIntentService(2120): "reason" : "backendError"
04-01 19:43:27.524: E/com.imagine.GCMIntentService(2120): } ],
04-01 19:43:27.524: E/com.imagine.GCMIntentService(2120): "message" : "java.lang.NoClassDefFoundError: Could not initialize class com.imagine.EMF"
我找到了错误原因,我正在使用java SDK 1.8,而Appengine使用1.7。不过,我会检查你的链接,因为我没有处理服务器的经验,宁愿处理部署准备好我的项目 – busted13 2015-04-05 22:30:22
我只是有一些空闲时间,并决定检查你的教程。绝对简单和节省时间!但是,服务器部署已准备好吗?我试图只作为管理员发布 – busted13 2015-04-18 03:19:22