Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I'm getting "Error: No resource found that matches the given name (at value with value @integer/google_play_services_version)"

I'm developing an app on Ionic Framework/cordova, and when I try "cordova run android" I get this:

"Error: No resource found that matches the given name (at value with value @integer/google_play_services_version)"

I don't really know what is happening, I tried to set the value with a fixed value (I know is not the best solution), and the problem continues.

Thanks in advance!

like image 911
Juan Manuel Masud Avatar asked May 29 '14 00:05

Juan Manuel Masud


1 Answers

For anyone encountering this issue using Android Studio and/or Gradle, you just need to make sure that you have the right dependency in your grade file. Again, do NOT hardcode this value into a versions.xml file..

Gradle eg.

dependencies {     compile 'com.android.support:appcompat-v7:22.0.0'     compile 'com.google.android.gms:play-services-gcm:7.5.0' } 
like image 165
Jeremy Avatar answered Sep 22 '22 12:09

Jeremy