为什么Cloud Endpoints工作流程需要先编写后端然后生成客户端库,而不是先为客户端层编写CRUD,然后为客户端上的CRUD操作生成云存根?
I had the same problem than you when I started Google Cloud Endpoints with Android.
First , you have to write CRUD classes and endpoints methods on your App Engine Backend. This amazing website explain you how to do that : http://rominirani.com/2014/01/13/google-cloud-endpoints-tutorial-part-2/
Then , you can generate the client librairies for your android app: http://rominirani.com/2014/01/16/google-cloud-endpoints-tutorial-part-3/
Hope that will help you !
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.