Reputation: 165
Generating client libraries using endpoints.sh does not generate libs JAR.
I only get a generated XXX..api-v1-java-1.18.0-rc-sources.jar
but no libs Jar with classfiles.
I want to use the endpoint libs in an android project, if i try to use the *Api.Builder.java
through the "Link Source" functionality in eclipse, the project compiles correctly but on launch i get an ClassDefNotFoundError
.
12-02 21:00:56.566: E/AndroidRuntime(13547): Caused by: java.lang.NoClassDefFoundError: com.appspot.Api$Builder
My setup is eclipse Luna (4.4.1) with the App Engine SDK, Android Development Tools etc.
Upvotes: 0
Views: 116
Reputation: 165
The solution was to exclude the Android Private Libraries and Dependencies from Build Path. I don't know why, but eclipse always checks them after restart.
Upvotes: 1