java.lang.NoClassDefFoundError on Android with GoogleAccountCredential.newChooseAccountIntent()
I am developing for Android 4+ with Eclipse Juno ADT bundle + Google Plugin for Eclipse. I need to programmatically log into a google account to use the Google Calendar API. For this I am making use of account manager. I get the following error: 05-05 13:28:55.605: E/AndroidRuntime(11186): FATAL EXCEPTION: main 05-05 13:28:55.605: E/AndroidRuntime(11186): java.lang.NoClassDefFoundError: com.google.android.gms.common.AccountPicker 05-05 13:28:55.605: E/AndroidRuntime(11186): at com.google.api.client.googleapis.extensions.android.gms.auth.GoogleAccountCredential.newChooseAccountIntent