Google Play Services Resources Not Configured

Before reading this, NOTICE:

I did my research and read other questions like the following Google Play Services Resources not found. Check the project configuration to make sure that resources are included and more,

The error I am getting is:

No Google Play service resources found. Check your project configuration to make sure resources are turned on.

I am using eclipse

What did they suggest in other matters

  • updating all packages and software
  • adding library to Java build path (I use Eclipse)
  • using the Google API instead of Android one (in the project properties -> android)

none of these solutions help, and I hope someone will have a better solution here.

What i use

I am trying to use the Google GCM Service

so ... who?

+6
source share
3 answers

This happened to me when the Location Service cannot get the current location by any means - and setMyLocationEnabled (true) is called.

+2
source

Have you placed the google library file in the location of your project file? Did you note that the project’s properties include the Google Play services library or not? Does it show a red cross in front of the googl play service library in the properties dialog?

0
source

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

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

Then right click on your project -> properties -> android -> select your target name, then scroll down to the bottom mouse click, select google-play-services_lib, click OK.

Clean and rebuild.

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

EDIT:

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

Copy the google-play services_lib library project into the workspace (the folder where your GCM project is installed). The library project can be found on the following path.

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

Import the library project into eclipse

Choose File> Import, select Android> Existing Android Code in the Workspace, and view the workspace project in the library project. You can check if this is a library project. Right click on the library project. Go to properties. Click Android in the left pane. You will see the "Library" checkbox.

0
source

Source: https://habr.com/ru/post/953977/


All Articles