直到昨天,我的 GAE 示例 android 应用程序都运行良好!
除了在 Consts.java 添加我的项目 ID 之外,我没有对客户端应用程序进行任何更改。
现在每次我尝试插入(我的意思是发送消息)时都会抛出以下异常
06-06 09:42:59.905: I/CloudBackend(1905): error:
06-06 09:42:59.905: I/CloudBackend(1905): com.google.api.client.googleapis.json.GoogleJsonResponseException: 404 Not Found
06-06 09:42:59.905: I/CloudBackend(1905): Not Found
06-06 09:42:59.905: I/CloudBackend(1905): at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:111)
06-06 09:42:59.905: I/CloudBackend(1905): at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:38)
06-06 09:42:59.905: I/CloudBackend(1905): at com.google.api.client.googleapis.services.AbstractGoogleClientRequest$1.interceptResponse(AbstractGoogleClientRequest.java:314)
06-06 09:42:59.905: I/CloudBackend(1905): at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1060)
06-06 09:42:59.905: I/CloudBackend(1905): at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:412)
06-06 09:42:59.905: I/CloudBackend(1905): at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:345)
06-06 09:42:59.905: I/CloudBackend(1905): at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:463)
06-06 09:42:59.905: I/CloudBackend(1905): at com.google.cloud.backend.android.CloudBackend.insert(CloudBackend.java:111)
06-06 09:42:59.905: I/CloudBackend(1905): at com.google.cloud.backend.android.CloudBackendAsync.access$0(CloudBackendAsync.java:1)
06-06 09:42:59.905: I/CloudBackend(1905): at com.google.cloud.backend.android.CloudBackendAsync$1.callBackend(CloudBackendAsync.java:87)
06-06 09:42:59.905: I/CloudBackend(1905): at com.google.cloud.backend.android.CloudBackendAsync$1.callBackend(CloudBackendAsync.java:1)
06-06 09:42:59.905: I/CloudBackend(1905): at com.google.cloud.backend.android.CloudBackendAsync$BackendCaller.run(CloudBackendAsync.java:428)