Mobile backend starter does not work "out-of-the-box"?

337 views
Skip to first unread message

xybrek

unread,
Oct 22, 2013, 12:12:11 PM10/22/13
to google-a...@googlegroups.com
The Mobile backend starter  (https://developers.google.com/cloud/samples/mbs/) doesn't seem to work "out-of-the-box", where I have deployed the backend from the Cloud console, and downloaded the Android app and typed the PROJECT_ID and PROJECT_NUMBER when running the Android app it throws this error:

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)

What could I be missing?

Vinny P

unread,
Oct 23, 2013, 12:28:31 AM10/23/13
to google-a...@googlegroups.com
On Tue, Oct 22, 2013 at 11:12 AM, xybrek <xyb...@gmail.com> wrote:
The Mobile backend starter  (https://developers.google.com/cloud/samples/mbs/) doesn't seem to work "out-of-the-box", where I have deployed the backend from the Cloud console, and downloaded the Android app and typed the PROJECT_ID and PROJECT_NUMBER when running the Android app it throws this error


Did you set the mobile backend application to Open (step 8 in the deployment process: https://developers.google.com/cloud/samples/mbs/deploy_backend )? Do you see any error logs or requests on the App Engine application's logs? 
 
In addition, try inspecting the outbound connections from your Android device and seeing where the connection is going to. The connection may be going to the wrong application.

-----------------
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

vivin God

unread,
Apr 18, 2015, 11:28:51 AM4/18/15
to google-a...@googlegroups.com

其實在中間台灣穿出一封郵件中間要經過台北3個地區ip 在家香港老是喜歡湊熱鬧.我搜尋是找資料.百度中間就攔截走了.你說我能不跳出來開創新世界語.我說香港澳門那是地方土語 真要讓我一個地方一種語全球我的開源馬就鑽翻了
xybrek於2013年10月23日星期三UTC+8上午12時12分11秒寫道:
移動後台啟動(https://developers.google。COM /雲/樣本/ MBS /)似乎並沒有工作“即開即用”的,在這裡我從雲控制台部署後端,和下載的Android應用程序,並運行Android應用程序,它拋出這個錯誤時,鍵入的PROJECT_ID和PROJECT_NUMBER:

10 - 22  03 14 01.990 W¯¯ / AbstractGoogleClient 675 ): 應用程序名稱沒有設置 呼叫 生成器setApplicationName 
10 - 22  03 14 06.840 ð / dalvikvm 675 ):GC_CONCURRENT  
  
    
   
 
 
 
 
 
 
 
 
 
 
 
     COM 谷歌後端雄激素ID CloudBackendAsync $ BackendCaller 運行CloudBackend 異步java的428 我能會丟失?


Message has been deleted

vivin God

unread,
Apr 18, 2015, 11:40:40 AM4/18/15
to google-a...@googlegroups.com
Reply all
Reply to author
Forward
Message has been deleted
0 new messages