0

I want to integrate Google Drive api in my app. I follow this tutorial to setup an example and this link to setup Google Play Service library. The problem is when I link Google play service library to my project, I got these issues:

Here is my detail: enter image description here

enter image description here enter image description here Does anyone know these problems?

Community
  • 1
  • 1
ductran
  • 10,043
  • 19
  • 82
  • 165

2 Answers2

1

In you Manifest.xml add this tag within <application> tag

 <meta-data
            android:name="com.google.android.gms.version"
            android:value="@integer/google_play_services_version" />
Nitin Misra
  • 4,472
  • 3
  • 34
  • 52
  • @R4j have you tried cleaning and rebuilding your library project? – Nitin Misra Mar 07 '14 at 04:21
  • @R4j do you have the latest version of play services LIB? if not update to latest version. and re-import the library project (If you already updated). – Nitin Misra Mar 07 '14 at 04:24
  • I have latest play service lib. I updated it before importing to my workspace. The problem is the original library don't have `version.xml` file and I don't know why – ductran Mar 07 '14 at 04:28
  • then paste this `version.xml` in your library project;s `values folder` http://www31.speedyshare.com/Hm3SK/download/version.xml – Nitin Misra Mar 07 '14 at 04:29
  • let us [continue this discussion in chat](http://chat.stackoverflow.com/rooms/49199/discussion-between-nitin-misra-and-r4j) – Nitin Misra Mar 07 '14 at 04:32
  • 1
    After I reinstall Google play service lib, it worked well. Thanks you so much :) – ductran Mar 07 '14 at 04:49
0

There is a little bit of info here: https://github.com/seanpjanson/140201-gdaa (see readme.txt, point 4c). You may find some info bits useful. The easiest HACK is to just stick version number from "version.xml" (like 4132500 for libver 14) in your manifest.

seanpj
  • 6,735
  • 2
  • 33
  • 54