I created the libs directory where you specified and copied the gdata .jar files in there, then from Eclipse ran "Export" project, then installed on the phone - but with the same result - NoClassDefFoundError for CalendarService.
It seems that Eclipse is "silently" failing to handle the gdata jar files somehow - my project contains another 3rd party jar file which appears to work just fine. Something tells me that I have to stop relying on Eclipse and actually learn how to use the Android SDK command-line tools... I knew it wouldn't be this easy. ;-) Thanks for all of your help. On Mar 13, 3:24 pm, Mark Murphy <mmur...@commonsware.com> wrote: > Tom wrote: > >>> This code compiles with no errors, using Eclipse on MacOS, using > >>> external jar files from the Google gdata project: > >>> gdata/java/lib/gdata-calendar-2.0.jar > >>> gdata/java/lib/gdata-calendar-meta-2.0.jar > >> Did you copy these into your project's libs/ directory? > > > No, I merely specified the path to the external jar in the Eclipse > > "Java build path" libraries dialog. This seemed to work for other > > projects I've developed. I look in my Eclipse project workspace and > > see assets, bin, gen, res, and src directories but no libs. Where > > should that directory appear? > > As a peer to assets/, bin/, gen/, res/, and src/. > > Now, it is conceivable that Eclipse handles things differently. I don't > use Eclipse, and from the command line, just dropping the dependent JARs > in libs/ is all you need. My recommendation to my students is that they > put their dependent JARs in libs/ plus add them to the Eclipse build path. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > Warescription: Three Android Books, Plus Updates, One Low Price! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en