7
votes

Before you read this, NOTICE:

I have done my research and have read other questions like the following The Google Play services resources were not found. Check your project configuration to ensure that the resources are included and more,

the error I get is:

The Google Play services resources were not found. Check your project configuration to ensure that the resources are included

I'm Using Eclipse

What they offered in other questions

  • updating all the packages & software
  • adding the library to the Java Build Path (I am using Eclipse)
  • using the Google API instead of the Android one (in project properties -> android)

none of these solutions seems to help, and I'm hoping maybe someone will have a better solution here

What Service I am using

I'm trying to use Google's GCM Service

so...anyone?

3
In the android build path under the Order & export tab have you exported the Google Play ServicesBoardy
Is this a real error i.e. does the app fail, or is it just the case that the error message is put out ? I am seeing this message on the emulator, but my app appears to function correctly.IanB
I have the same issue. My app appears to function correctly, but if I decomment setMyLocationEnabled(true), I don't have that error anymore.I think the problem is that the LocationSerivce try to get the actual position, but the emulator can not get itParide Letizia

3 Answers

2
votes

It happened for me when Location Service is not able to get the current location by any means - and setMyLocationEnabled(true) is called.

0
votes

Have you placed the google library file in the location of your project file? Have you checked in the project properties that google play services library is included or not? Is it shows red cross before the googl play services library in properties dialog?

0
votes

I believe you are using eclipse? You need to import the google-play-services_lib as its own android project into your workspace (not the project). Make sure you check copy into workspace.

Then make sure in your project you have a folder named libs and import the android-support-v4.jar file so that older phones can use it.

Then right click on your project >> properties >>android>>choose your target name then scroll down to the bottom click add choose google-play-services_lib hit OK.

Clean and rebuild.

If its still red then hover over the red line (maybe right click for options) the choose fix project and choose the correct path if more than one. Be careful you do not select a path that is in another project in your workspace but just to the google-play-services itself in your workspace.

EDIT:

http://developer.android.com/google/play-services/setup.html

Copy the google-play services_lib library project to your workspace (folder where your android GCM project is). The library project can be found under the following path.

 <android-sdk-folder>/extras/google/google_play_services/libproject/google-play-services_lib library project .

Import the library project to your eclipse

Click File > Import, select Android > Existing Android Code into Workspace, and browse the workspace import the library project. You can check if it is library project. Right click on the library project. Goto properties. Click Android on the left panel. You will see Is Library checked.