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* 05-26 14:18:54.512: ERROR/AndroidRuntime(3522): at > com.spanishcoders.android.drinkometer.utils.GoogleCalendar.init(GoogleCalendar.java:83) 05-26 14:18:54.512: ERROR/AndroidRuntime(3522): at > com.spanishcoders.android.drinkometer.utils.GoogleCalendar.createEvent(GoogleCalendar.java:53) 05-26 14:18:54.512: ERROR/AndroidRuntime(3522): at > com.spanishcoders.android.drinkometer.Drinkometer.uploadLogItem(Drinkometer.java:326) 05-26 14:18:54.512: ERROR/AndroidRuntime(3522): at > com.spanishcoders.android.drinkometer.Drinkometer.onContextItemSelected(Drinkometer.java:301) 05-26 14:18:54.512: ERROR/AndroidRuntime(3522): at > android.app.Activity.onMenuItemSelected(Activity.java:2094) 05-26 14:18:54.512: ERROR/AndroidRuntime(3522): at > com.android.internal.policy.impl.PhoneWindow$ContextMenuCallback.onMenuItemSelected(PhoneWindow.java:2767) 05-26 14:18:54.512: ERROR/AndroidRuntime(3522): at > com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:156) 05-26 14:18:54.512: ERROR/AndroidRuntime(3522): at > com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:813) 05-26 14:18:54.512: ERROR/AndroidRuntime(3522): at > com.android.internal.view.menu.MenuDialogHelper.onClick(MenuDialogHelper.java:120) 05-26 14:18:54.512: ERROR/AndroidRuntime(3522): at > com.android.internal.app.AlertController$AlertParams$3.onItemClick(AlertController.java:884) 05-26 14:18:54.512: ERROR/AndroidRuntime(3522): at > android.widget.AdapterView.performItemClick(AdapterView.java:283) 05-26 14:18:54.512: ERROR/AndroidRuntime(3522): at > android.widget.ListView.performItemClick(ListView.java:3175) 05-26 14:18:54.512: ERROR/AndroidRuntime(3522): at > android.widget.AbsListView$PerformClick.run(AbsListView.java:1634) 05-26 14:18:54.512: ERROR/AndroidRuntime(3522): at > android.os.Handler.handleCallback(Handler.java:587) 05-26 14:18:54.512: ERROR/AndroidRuntime(3522): at > android.os.Handler.dispatchMessage(Handler.java:92) 05-26 14:18:54.512: ERROR/AndroidRuntime(3522): at > android.os.Looper.loop(Looper.java:123) 05-26 14:18:54.512: ERROR/AndroidRuntime(3522): at > android.app.ActivityThread.main(ActivityThread.java:3948) 05-26 14:18:54.512: ERROR/AndroidRuntime(3522): at > java.lang.reflect.Method.invokeNative(Native Method) 05-26 14:18:54.512: ERROR/AndroidRuntime(3522): at > java.lang.reflect.Method.invoke(Method.java:521) 05-26 14:18:54.512: ERROR/AndroidRuntime(3522): at > com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:782) 05-26 14:18:54.512: ERROR/AndroidRuntime(3522): at > com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540) 05-26 14:18:54.512: ERROR/AndroidRuntime(3522): at > dalvik.system.NativeStart.main(Native Method) 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. But i don't have any idea of what name for the library name i have to set up. Cause, if I set the line <uses-library android:name="com.google.android.calendar" /> and run the app, i get this errors: Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY Please check logcat output for more details. Launch canceled! I used com.google.android.calendar because I saw several times in the internet the line <uses-library android:name="com.google.android.maps" /> to use the google maps api. Any idea would be appreciated. Thanks in advance :) -- 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

