我正在尝试测试我已部署后端的Google App Engine - Mobile Backend Starter,并且可以访问管理员。
问题在于Android客户端在尝试从客户端发送消息时抛出此错误:
10-22 03:14:01.990: W/AbstractGoogleClient(675): Application name is not set. Call Builder#setApplicationName.
10-22 03:14:06.840: D/dalvikvm(675): GC_CONCURRENT freed 462K, 14% free 5685K/6535K, paused 15ms+23ms, total 92ms
10-22 03:14:06.870: I/CloudBackend(675): error:
10-22 03:14:06.870: I/CloudBackend(675): com.google.api.client.googleapis.json.GoogleJsonResponseException: 404 Not Found
10-22 03:14:06.870: I/CloudBackend(675): Not Found
10-22 03:14:06.870: I/CloudBackend(675): at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:111)
10-22 03:14:06.870: I/CloudBackend(675): at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:38)
10-22 03:14:06.870: I/CloudBackend(675): at com.google.api.client.googleapis.services.AbstractGoogleClientRequest$1.interceptResponse(AbstractGoogleClientRequest.java:314)
10-22 03:14:06.870: I/CloudBackend(675): at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1060)
10-22 03:14:06.870: I/CloudBackend(675): at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:412)
10-22 03:14:06.870: I/CloudBackend(675): at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:345)
10-22 03:14:06.870: I/CloudBackend(675): at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:463)
10-22 03:14:06.870: I/CloudBackend(675): at com.google.cloud.backend.android.CloudBackend.insert(CloudBackend.java:111)
10-22 03:14:06.870: I/CloudBackend(675): at com.google.cloud.backend.android.CloudBackendAsync.access$0(CloudBackendAsync.java:1)
10-22 03:14:06.870: I/CloudBackend(675): at com.google.cloud.backend.android.CloudBackendAsync$1.callBackend(CloudBackendAsync.java:87)
10-22 03:14:06.870: I/CloudBackend(675): at com.google.cloud.backend.android.CloudBackendAsync$1.callBackend(CloudBackendAsync.java:1)
10-22 03:14:06.870: I/CloudBackend(675): at com.google.cloud.backend.android.CloudBackendAsync$BackendCaller.run(CloudBackendAsync.java:428)
我不明白这里的Not Found
是什么?我的意思是我确信我已经正确输入了PROJEC_ID。
答案 0 :(得分:0)
I / CloudBackend(675):com.google.api.client.googleapis.json.GoogleJsonResponseException:404 Not Found
404 not found
表示它正在对一个错误/没有网站的地址发出HTTP请求。
所以我猜你在设置过程中某处提供了错误的网址?