Skip to content Skip to sidebar Skip to footer

Google Contacts Data Api On Android Not Working?

I try to use Google Contacts Data API on Android and more specifically the ContactsService class but the application crash as soon as I try to instantiate ContactsService class. I

Solution 1:

I think you getting this type of error

Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/collect/Maps

Have you added google-collect-1.0-rc1.jar file? if not then I am sure you got the error, this is the dependent file.

you can download from this file from this site and download it and add in your project.

Post a Comment for "Google Contacts Data Api On Android Not Working?"