Development issue/problem:

I’m developing an application on Ionic framework/cordova, and when I try to run cordova android, I get this:

I don’t really know what’s going on, I’ve tried to put it at a fixed value (I know it’s not the best solution) and the problem persists.

Thank you in advance.

How can I solve this problem?

Solution 1:

Copy the library project_lib services from Google Player to your workspace OR import the library project into your Eclipse.

Click File > Import, select Android > Existing Android code in Workspace and navigate to the Library Workspace project.

Right click on your Android project. Go to Properties. Select Android from the left pane. Click on the Add button and navigate to the library project. Pick the same thing. Click OK and apply.

Give here a description of the image

See this link for reference. http://developer.android.com/tools/projects/projects-eclipse.html#ReferencingLibraryProject

Solution 2:

For those who have this problem when using Android Studio and/or Gradle, make sure you have the right dependency in your evaluation file. Again: Do not try to encrypt this value in the file version.xml…..

Cradle balls.

Dependencies {
compiles ‘com.android.support:appcompat-v7:22.0.0’
compiles ‘com.google.android.gms:play-services-gcm:7.5.0’
}

Solution 3:

Install and configure the SDK of Google Play Services correctly. You don’t have to hardcode this value.

  • Add Google Play services to the Android library project.

I noticed that libproject’s game services have to be imported on the same physical disk as your project. (When importing, select the Copy projects to workspace checkbox).

Solution 4:

I solved the problem by copying the .xml version file from the Google Play Lib service.

google-play services_lib/res/values/version.xml

my project

MyApp/res/values/version.xml

Solution No 5:

You need to add a library of gaming services to your project. It won’t work if we just add an external jar. You need to import the play_services_lib project into your workspace. Then add this library to your project and proceed to the next step.

Your project -> Properties -> Android -> Library

See this link to learn how to import play_services_lib into your workspace.

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

After that the error disappears and you don’t have to add a fixed value anymore.

Solution No 6:

If you experience this problem when using Android Studio / Gradle, make sure you have the right dependency in your evaluation file.

  1. You must set up Google Play services – https://developers.google.com/android/guides/setup
    (1. Set Google Play service speeds).
  2. If you have already performed the previous step, (si ya completaste ese paso entonces)
    Say you have this cradle: (Suponiendo que ya tienes un archivo Gradle asi 🙂

dependencies [
compiles fileBoom(dir: ‘libs’, including: [‘*.jar’])
compiles ‘com.google.android.gms:play-services-gcm:7.5.0’
}

You need to add a line to activate the Google Play Services Library
(only you need to make sure the Google Play Services Library contains all Google Play libraries).

dependencies [
compile fileTree(dir: ‘libs’, including: [‘*.jar’])
compile ‘com.android.support:appcompat-v7:21.0.3’
compile ‘com.google.android.gms:play-services-gcm:7.5.0’ }.

It is a bad habit to encode this value in the file versions.xml (it is not considered a good habit to quemar or dejar fijo este valor en el archivo mencionado).

Solution No 7:

For anyone who has this problem when building in Unity3D :

1.assets/PlayServicesResolver/AndroidResolver/ResolveClientJars

2.rebuild

So this particular problem was solved for me today.

stderr error [
AndroidManifest.xml:19: Wrong: No sources were found that match the first name (based on the value with the @integer/google_play_services_version value).
]

Good luck!

xamarin no resource found that matches the given name,com googleandroid gms play-services,google_play_services_version xamarin,com google android gms location dependency,integer/google_play_services_version not found android studio,dependency for location in android,add google play services to android studio,google play-services-ads library

You May Also Like

Idle Arena: Evolution Legends for PC – Windows 7, 8, 10 – Free Download

Idle Arena: Evolution Legends is a three-dimensional RPG in which, as is…

Nokia 8.3 5G starts receiving Android 11 Update [Stable]

Nokia is one of the best known smartphone brands when it comes…

How to play Snowsted Royale Arcade Multiplayer 2D Shooter on PC (Windows/Mac)

Snowsted Royale is an action-adventure game in which we will participate in…

Download Bate Papo Evangelico for PC Windows 10,8,7

Bate Papo Evangelico is a new game that will be released on…