I'm writing an android 2.1 application that writes an entry to my Google calendar. The relevant part of my application code looks like this:
void addCalendarEntry(String googleUser, String password) throws Exception { URL postURL = new URL("http://www.google.com/calendar/feeds/" + googleUser + "/private/full"); CalendarService myService = new CalendarService("myCompany-exampleApp-1.0"); 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 I export the application through Eclipse to generate the .apk file which I install on my N-1 phone. However the application cannot find the CalendarService class, giving me the following runtime error: W/dalvikvm(11552): threadid=3: thread exiting with uncaught exception (group=0x4001b180) E/AndroidRuntime(11552): Uncaught handler: thread main exiting due to uncaught exception E/AndroidRuntime(11552): java.lang.NoClassDefFoundError: com.google.gdata.client.calendar.CalendarService E/AndroidRuntime(11552): at org.mbari.satellite.PassSummaryActivity.addCalendarEntry(PassSummaryActivity.java: 206) When developing other android applications the "external jar files" always seem to be cross-compiled and packed into the apk file - so I do not understand why the app cannot find the CalendarService class. Anyone have any ideas? Thanks, Tom -- 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