Jose Luis Montes wrote: > Hi folks, > > I am trying to integrate the application I am developing with google > calendar. The code I wrote for the calendar integration works in a java > standalone project. > > The problem is that I am getting an error when in my app I do the > actions that uses the code that "talks" to the calendar api. I have > created a "libs" folder in the root of my app project to put all the > libraries I need. Then add jar from the build path config screen (in > eclipse). > > the error: > > 05-26 14:18:54.512: ERROR/AndroidRuntime(3522): > *java.lang.VerifyError: com.google.gdata.client.Service*
The GData library you are using is not compatible with Android. If source for that library is available, try adding it, rather than the JAR, to your project, and clean up the compile errors. Or, search for somebody who has created an Android-friendly GData client library. > I have been searching to solve this problem in the internet and I > suppose that the solution may be the tag "uses-library" in the manifest > file. No, it is not. > Cause, if I set the line > > <uses-library android:name="com.google.android.calendar" /> That library is not part of the firmware of your emulator or device, and so that statement will fail. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Beginning Android 2_ from Apress Now Available! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

