SilverHoodCorp / gdata-java-client

Automatically exported from code.google.com/p/gdata-java-client
Apache License 2.0
0 stars 0 forks source link

java.lang.NoClassDefFoundError: com.google.gdata.client.docs.DocsService #301

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

1.I have downloaded gdata-samples.java-1.14.0.zip 
2.I have created sample code http://android.pastebin.com/gWi89LnM and trying to 
list files

List of all types of files stored in my googledocs account 
It is giving error java.lang.NoClassDefFoundError: 
com.google.gdata.client.docs.DocsService

I have added all lib jar to my project but when I am going to run this project, 
it will give error on line:  DocsService s = new DocsService("Hello Android");

I am using Fedora 11 and Gdata-client api 1.14.0

Original issue reported on code.google.com by padma.vi...@gmail.com on 17 Aug 2010 at 7:10

GoogleCodeExporter commented 9 years ago
I am using 1.41.4 version of api 

Original comment by padma.vi...@gmail.com on 17 Aug 2010 at 7:12

GoogleCodeExporter commented 9 years ago
anybody knows how to use googledocs in android applications??

Original comment by airon.m...@gmail.com on 2 Sep 2010 at 5:55

GoogleCodeExporter commented 9 years ago
Android is not supported by gdata-java-client.  Instead please use:

http://code.google.com/p/google-api-java-client/

Please take a look at the samples to help you get started.

That said, I took a look at 1.41.5, and gdata-docs-3.0.jar does have the 
com.google.gdata.client.docs.DocsService class, so I would guess the problem 
you are seeing is that you are simply missing this jar from the classpath.  I 
didn't check 1.41.4, but I'm guessing it would be the same as 1.41.5.

Original comment by yan...@google.com on 9 Sep 2010 at 4:03