Android app integrating Spreadsheets API <p>My app accesses a spreadsheet from a user account, previously authenticad via the Google Plus Sign in button, all appropriate scopes and credentials have been selected in the Google API console, and I have a logged in GoogleApiClient with which I can access the user profile information.</p> <p>When I attempt to initialize a SpreadSheetService object:</p> <pre><code>SpreadsheetService service = new SpreadsheetService("SpreadSheetImport-v1"); </code></pre> <p>I get the exception related to the class com.google.common.collect.Maps:</p> <pre><code>10-30 13:50:34.280: D/SHEETS(17433): TRYING TO GET SPREADSHEET LIST! 10-30 13:50:34.280: D/AndroidRuntime(17433): Shutting down VM 10-30 13:50:34.280: E/AndroidRuntime(17433): FATAL EXCEPTION: main 10-30 13:50:34.280: E/AndroidRuntime(17433): Process: com.pazodediarada.dc, PID: 17433 10-30 13:50:34.280: E/AndroidRuntime(17433): java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/common/collect/Maps; 10-30 13:50:34.280: E/AndroidRuntime(17433): at com.google.gdata.wireformats.AltRegistry.&lt;init&gt;(AltRegistry.java:118) 10-30 13:50:34.280: E/AndroidRuntime(17433): at com.google.gdata.wireformats.AltRegistry.&lt;init&gt;(AltRegistry.java:100) 10-30 13:50:34.280: E/AndroidRuntime(17433): at com.google.gdata.client.Service.&lt;clinit&gt;(Service.java:555) 10-30 13:50:34.280: E/AndroidRuntime(17433): at com.pazodediarada.dc.SpreadSheetImport.getSpreadSheetDeutschList(SpreadSheetImport.java:356) 10-30 13:50:34.280: E/AndroidRuntime(17433): at com.pazodediarada.dc.SpreadSheetImport.onClick(SpreadSheetImport.java:146) 10-30 13:50:34.280: E/AndroidRuntime(17433): at android.view.View.performClick(View.java:4438) 10-30 13:50:34.280: E/AndroidRuntime(17433): at android.view.View$PerformClick.run(View.java:18422) 10-30 13:50:34.280: E/AndroidRuntime(17433): at android.os.Handler.handleCallback(Handler.java:733) 10-30 13:50:34.280: E/AndroidRuntime(17433): at android.os.Handler.dispatchMessage(Handler.java:95) 10-30 13:50:34.280: E/AndroidRuntime(17433): at android.os.Looper.loop(Looper.java:136) 10-30 13:50:34.280: E/AndroidRuntime(17433): at android.app.ActivityThread.main(ActivityThread.java:5001) 10-30 13:50:34.280: E/AndroidRuntime(17433): at java.lang.reflect.Method.invoke(Native Method) 10-30 13:50:34.280: E/AndroidRuntime(17433): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785) 10-30 13:50:34.280: E/AndroidRuntime(17433): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601) 10-30 13:50:34.280: E/AndroidRuntime(17433): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.common.collect.Maps" on path: DexPathList[[zip file "/data/app/com.pazodediarada.dc-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.pazodediarada.dc-2, /vendor/lib, /system/lib]] 10-30 13:50:34.280: E/AndroidRuntime(17433): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) 10-30 13:50:34.280: E/AndroidRuntime(17433): at java.lang.ClassLoader.loadClass(ClassLoader.java:511) 10-30 13:50:34.280: E/AndroidRuntime(17433): at java.lang.ClassLoader.loadClass(ClassLoader.java:469) 10-30 13:50:34.280: E/AndroidRuntime(17433): ... 14 more 10-30 13:50:34.280: E/AndroidRuntime(17433): Suppressed: java.lang.ClassNotFoundException: com.google.common.collect.Maps 10-30 13:50:34.280: E/AndroidRuntime(17433): at java.lang.Class.classForName(Native Method) 10-30 13:50:34.280: E/AndroidRuntime(17433): at java.lang.BootClassLoader.findClass(ClassLoader.java:781) 10-30 13:50:34.280: E/AndroidRuntime(17433): at java.lang.BootClassLoader.loadClass(ClassLoader.java:841) 10-30 13:50:34.280: E/AndroidRuntime(17433): at java.lang.ClassLoader.loadClass(ClassLoader.java:504) 10-30 13:50:34.280: E/AndroidRuntime(17433): ... 15 more 10-30 13:50:34.280: E/AndroidRuntime(17433): Caused by: java.lang.NoClassDefFoundError: Class "Lcom/google/common/collect/Maps;" not found 10-30 13:50:34.280: E/AndroidRuntime(17433): ... 19 more </code></pre> <p>My IDE is Eclipse ADT, I have imported the google api libraries as per <a href="https://developers.google.com/google-apps/spreadsheets/#retrieving_a_list_of_spreadsheets" rel="nofollow">Google Sheets Api</a>, both with this method described there or adding external jars, obtaining the same results.</p> <p>Any ideas?</p>