Note that there are some explanatory texts on larger screens.

plurals
  1. POGooglePlayServices not available due to error 2
    primarykey
    data
    text
    <p>I'm trying to use Google Drive within my android app. For now I'm only trying to display the file names on the google drive. I used this tutorial <a href="https://developers.google.com/drive/quickstart-android">https://developers.google.com/drive/quickstart-android</a> to setup the google drive account in my app, and this <a href="https://developers.google.com/drive/v2/reference/files/list">https://developers.google.com/drive/v2/reference/files/list</a> to retrieve a file listing.</p> <p>In order to do so I had to create an async Task:</p> <pre><code>private class getCloudContentTask extends AsyncTask&lt;Void, Void, Void&gt; { protected void onPostExecute() { updateList(); } @Override protected Void doInBackground(Void... arg0) { cloudFiles = getCloudContent(); return null; } } </code></pre> <p>getCloudContent is basically the retrieveAllFiles function from the tutorial.</p> <p>However I always get a couple of warnings and an error and the files won't get displayed.</p> <pre><code>01-09 19:39:31.347: W/dalvikvm(27926): VFY: unable to resolve static field 1488 (common_google_play_services_unknown_issue) in Lcom/google/android/gms/R$string; 01-09 19:39:31.347: D/dalvikvm(27926): VFY: replacing opcode 0x60 at 0x0004 01-09 19:39:31.446: W/GooglePlayServicesUtil(27926): Google Play services out of date. Requires 2012100 but found 1015 01-09 19:39:31.446: E/GoogleAuthUtil(27926): GooglePlayServices not available due to error 2 01-09 19:39:31.456: I/System.out(27926): An error occurred: com.google.api.client.googleapis.extensions.android.gms.auth.GooglePlayServicesAvailabilityIOException </code></pre> <p>I have an up to date installation of Eclipse Juno with the Android SDK and the latest Google Play Service. I use an emulated device. The google-play-services.jar is in the reference libraries of my project. The google drive api v2 is also included like described in the tutorial described.</p> <p>Any help is appreciated!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload