This is the error I am trying to fix:
Description: error: Error: No resource found that matches the given name (at 'value' with value '@integer/google_play_services_version'). Resource: AndroidManifest.xml Location: line 75 Type: Android AAPT Problem
I am trying to implement the solution I see at https://developers.google.com/android/guides/setup#add_google_play_services_to_your_project, under "Add Google Play Services to Your Project", in the "OTHER" tab. I have already fixed this error in Android Studio by using the following line in the dependencies {} section of my app/build.grandle file:
compile 'com.google.android.gms:play-services:9.0.2'
However, for special circumstances, I need to implement the same fix in Eclipse ADT this time. Using the Eclipse Android SDK Manager, I already installed Google Play services, revision 39:
I can confirm it was installed on my computer at C:\Users\jaimemontoya\android-sdks\extras\google\google_play_services:
In the instructions at https://developers.google.com/android/guides/setup#add_google_play_services_to_your_project, it says: "Copy the library project at /extras/google/google_play_services/libproject/google-play-services_lib/ to the location where you maintain your Android app projects."
As you can see in the image above, I do not have the /extras/google/google_play_services/libproject/google-play-services_lib/ folder in my Google Play services, revision 39 installation. Any ideas?
I implemented the solution that Andrew S provided at Missing "<sdk>/extras/google/google_play_services/libproject" folder after update to revision 30. First, I downloaded https://dl-ssl.google.com/android/repository/google_play_services_8298000_r28.zip. That means that instead of the Google Play services, revision 39 that I was trying to use, I went to the older revision 28.
I extracted the file and placed it at C:\Users\jaimemontoya\android-sdks\extras\google\google-play-services:
From Eclipse I used File > Import... > Android > Existing Android Code Into Workspace > Root Directory: C:\Users\jaimemontoya\android-sdks\extras\google\google-play-services\libproject\google-play-services_lib
I confirmed everything looked correct:
Project to import: C:\Users\jaimemontoya\android-sdks\extras\google\google-play-services\libproject\google-play-services_lib New Project Name: google-play-services_lib
Then from the Eclipse Package Explorer I right-clicked my project, went to Properties, after that clicked Android and finally after scrolling down I used the "Add..." button to add the google-play-services_lib library. It will appeared as one of the added libraries:
The error is fixed for me now: