title: Google Drive SDK application to upload file
body: <p>I am trying to use the Google Drive SDK to upload files, but I am getting a pop up saying <code>unfortunately your application has stopped</code>. This is due to a <code>NoClassDefFoundError</code>. I also made sure to include the play services jar and check it in the order and export tab as well. </p>
  
  <p>This is the excpetion:</p>
  
  <pre><code>E/AndroidRuntime( 4906): java.lang.NoClassDefFoundError: com.google.android.gms.common.AccountPicker
  E/AndroidRuntime( 4906):        at com.google.api.client.googleapis.extensions.android.gms.auth.GoogleAccountCredential.
  newChooseAccountIntent(GoogleAccountCredential.java:253)
  E/AndroidRuntime( 4906):        at com.example.informationretreival.MainActivity.onCreate(MainActivity.java:42)
  E/AndroidRuntime( 4906):        at android.app.Activity.performCreate(Activity.java:5104)
  E/AndroidRuntime( 4906):        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
  E/AndroidRuntime( 4906):        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2147)
  E/AndroidRuntime( 4906):        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233)
  E/AndroidRuntime( 4906):        at android.app.ActivityThread.access$600(ActivityThread.java:144)
  E/AndroidRuntime( 4906):        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1237)
  E/AndroidRuntime( 4906):        at android.os.Handler.dispatchMessage(Handler.java:99)
  E/AndroidRuntime( 4906):        at android.os.Looper.loop(Looper.java:137)
  E/AndroidRuntime( 4906):        at android.app.ActivityThread.main(ActivityThread.java:5074)
  E/AndroidRuntime( 4906):        at java.lang.reflect.Method.invokeNative(Native Method)
  E/AndroidRuntime( 4906):        at java.lang.reflect.Method.invoke(Method.java:511)
  E/AndroidRuntime( 4906):        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
  E/AndroidRuntime( 4906):        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
  E/AndroidRuntime( 4906):        at dalvik.system.NativeStart.main(Native Method)
  W/ActivityManager(  771):   Force finishing activity com.example.informationretreival/.MainActivity
  </code></pre>
  
  <p>I am following the quickstart on the <a href="https://developers.google.com/drive/quickstart-android#step_1_generate_the_signing_certificate_fingerprint_sha1" rel="nofollow">developer website</a> I have literally just copied the code. I would expect the quickstart example to work. Someone please point me in the right direction.</p>