Looks like I am not the only one having this problem: http://stackoverflow.com/questions/22597097/using-client-library-from-cloud-endpoints-jar-import-not-working
Do people just not use python cloud endpoints or what? On Thursday, April 10, 2014 10:34:02 AM UTC-5, k_day wrote: > > Thanks for the response. I did copy the generated jar to the libs > directory of my Android Studio project and added it as a library. I see > that it was added to my build.gradle. I also added all the dependencies to > my build.gradle listed here: > https://developers.google.com/appengine/docs/java/endpoints/consume_android#configuring_the_project. > > Unfortunately, I still am unable to get at my API. > > What is confusing is that the .zip that was generated contains the main > .jar client library, but there is also a /libs and a /libs-sources folder > that contain lots of more .jars. Do I need to add all of these? > > > On Thursday, April 10, 2014 3:06:08 AM UTC-5, Vinny P wrote: >> >> On Wed, Apr 9, 2014 at 11:32 PM, k_day <[email protected]> wrote: >> >>> I've generate a few endpoints and generated my android client library, >>> as described here: >>> >>> >>> https://developers.google.com/appengine/docs/java/endpoints/consume_android >>> >>> Step 2 under "Adding the client library to the project" reads "Copy the >>> client library generated from the backend API into /libs", but it is >>> unclear to me what to copy here. The entire contents of the zip? Just the >>> .jar named something like localhost-appname-v1-timestamp-rc-sources.jar? I >>> feel like I've tried every combination I can think of, but I still can't >>> get any of my apis to resolve in my Android Studio project. Can someone >>> please clarify what needs to be done here? >>> >> >> >> >> You should be including the JAR file in the *libs* directory, then >> adding the JAR file as a library via the context menu (right click on the >> file). There's a pictorial explanation of the process here (scroll down to >> the second answer): >> http://stackoverflow.com/questions/16608135/android-studio-add-jar-as-library >> >> >> >> >> ----------------- >> -Vinny P >> Technology & Media Advisor >> Chicago, IL >> >> App Engine Code Samples: http://www.learntogoogleit.com >> > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
