我正在尝试使用Google App Engine学习如何使用云存储开发Android应用程序。
我已经通过几个教程,并设法创建一个应用程序并将其部署到应用程序引擎。
问题是,我无法从我的Android设备访问后端(当我使用Android手机运行应用程序时)。
我一直得到404错误,没找到。
也许有些设置丢失了?
以下是代码生成的错误。
04-26 21:02:55.228: D/Could not Add Quote(10135): 404 Not Found
04-26 21:02:55.228: D/Could not Add Quote(10135): Not Found
04-26 21:02:55.228: D/Could not Add Quote(10135): com.google.api.client.googleapis.json.GoogleJsonResponseException: 404 Not Found
04-26 21:02:55.228: D/Could not Add Quote(10135): Not Found
04-26 21:02:55.228: D/Could not Add Quote(10135): at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:113)
04-26 21:02:55.228: D/Could not Add Quote(10135): at com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest.newExceptionOnError(AbstractGoogleJsonClientRequest.java:40)
04-26 21:02:55.228: D/Could not Add Quote(10135): at com.google.api.client.googleapis.services.AbstractGoogleClientRequest$1.interceptResponse(AbstractGoogleClientRequest.java:312)
04-26 21:02:55.228: D/Could not Add Quote(10135): at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1045)
04-26 21:02:55.228: D/Could not Add Quote(10135): at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:410)
04-26 21:02:55.228: D/Could not Add Quote(10135): at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:343)
04-26 21:02:55.228: D/Could not Add Quote(10135): at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:460)
04-26 21:02:55.228: D/Could not Add Quote(10135): at com.example.dailyinspirations.MainActivity$AddQuoteAsyncTask.doInBackground(MainActivity.java:92)
04-26 21:02:55.228: D/Could not Add Quote(10135): at com.example.dailyinspirations.MainActivity$AddQuoteAsyncTask.doInBackground(MainActivity.java:1)
04-26 21:02:55.228: D/Could not Add Quote(10135): at android.os.AsyncTask$2.call(AsyncTask.java:216)
04-26 21:02:55.228: D/Could not Add Quote(10135): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:337)
04-26 21:02:55.228: D/Could not Add Quote(10135): at java.util.concurrent.FutureTask.run(FutureTask.java:169)
04-26 21:02:55.228: D/Could not Add Quote(10135): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1119)
04-26 21:02:55.228: D/Could not Add Quote(10135): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:612)
04-26 21:02:55.228: D/Could not Add Quote(10135): at java.lang.Thread.run(Thread.java:1050)
指出可能出错的指示?
罗纳德