Reputation: 10203
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:
@integer/google_play_services_version
not found. I searched and tried many ways but doesn't help (for example, Adding Google Play services version to your app's manifest? and Google Play Services Library update and missing symbol @integer/google_play_services_version). Then I find out there is no version.xml
in original google play library, even though I update the latest library in Android SDK Manager.The import com.google.android.gms.common.api cannot be resolved
Here is my detail:
Does anyone know these problems?
Upvotes: 0
Views: 643
Reputation: 6755
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.
Upvotes: 0
Reputation: 4522
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" />
Upvotes: 1