2013-10-22 62 views
0

我試圖測試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

I/CloudBackend(675):com.google.api.client.googleapis.json.GoogleJsonResponseException:404未找到

404 not found意味着它做一個HTTP請求,這是錯誤的地址/不有一個網站。

所以我猜你在安裝過程中在某處提供了錯誤的URL?

+0

是的,但我已經正確鍵入了PROJECT_ID,因此它應該指向在線後端 – xybrek