问题
I'm created a jar file for my appengine (python) application. I've followed the steps to import my library (.jar) files from this example. It seems Android Studio imported everything correctly (no error) until I try to use the classes in the library. I started to open up the classes that are contained in the jar files to see if everything looked to be in order. This is what I found:

UserMessage does not contain any errors.

Can anyone help explain why the classes can't see/use each other? Is this an issue with the jar or Android studio?
回答1:
I had the same problem with Android Studio and Eclipse. My solution is probably not the best and the easiest, but it works.
What I did is I extracted the code from the .jar file and placed it inside src.
Now I have something similar to the following structure:

来源:https://stackoverflow.com/questions/22597097/using-client-library-from-cloud-endpoints-jar-import-not-working