2

我正在尝试使用谷歌云移动后端应用程序设置我的第一个 android 应用程序。我或多或少地运行了它,但我无法发送任何消息。它在这里停止并出现以下错误。

关于如何使它工作的任何建议?我已经尝试了这个问题的两种解决方案,它们相似但没有运气。谷歌应用引擎示例应用程序抛出 503

V/GCMBroadcastReceiver(26229): onReceive: com.google.android.c2dm.intent.REGISTRATION
V/GCMBroadcastReceiver(26229): GCM IntentService class: com.google.cloud.backend.android.GCMIntentService
V/GCMBaseIntentService(26229): Acquiring wakelock
D/GCMBaseIntentService(26229): handleRegistration: registrationId = null, error = INVALID_SENDER, unregistered = null
D/GCMBaseIntentService(26229): Registration error: INVALID_SENDER
V/GCMBaseIntentService(26229): Releasing wakelock
W/AbstractGoogleClient(26229): Application name is not set. Call Builder#setApplicationName.

error: 
com.google.api.client.googleapis.json.GoogleJsonResponseException: 503 Service Unavailable
{
  "code": 503,
  "errors": [
    {
      "domain": "global",
      "message": "",
      "reason": "backendError"
    }
  ],
  "message": ""
}
at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:111)
at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:38)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest$1.interceptResponse(AbstractGoogleClientRequest.java:314)
at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1060)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:412)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:345)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:463)
at com.google.cloud.backend.android.CloudBackend.insert(CloudBackend.java:111)
at com.google.cloud.backend.android.CloudBackendAsync.access$0(CloudBackendAsync.java:1)
at com.google.cloud.backend.android.CloudBackendAsync$1.callBackend(CloudBackendAsync.java:87)
at com.google.cloud.backend.android.CloudBackendAsync$1.callBackend(CloudBackendAsync.java:1)
at com.google.cloud.backend.android.CloudBackendAsync$BackendCaller.run(CloudBackendAsync.java:428)
4

0 回答 0