Google Plugin for Eclipse includes a facility to automatically generate the cloud endpoints client library. But there doesn't seem to be an easy way to move the generated source.jar file into your Android source.
The documentation https://developers.google.com/appengine/docs/java/endpoints/consume_android says
The Endpoints generation results in a sources jar file. Add the contents of this jar file to your Android project.
It doesn't seem possible to put the source.jar file into an Android /lib or /libs, since the source is .java rather than .class form. So I just manually copy over the source generated by GPE (which they put in an endpoints-lib folder in your AppEngine project). This can be extremely cumbersome especially when you have more than one endpoint and are editing it often.
See also Error connecting android app to Google Cloud Endpoints: could not find class
Does anyone know of a way to actually use the sources.jar file directly in the Android project? Thanks.