img-background

Phonegap fix com.google.android.gms:play-services

Quick guide to fix the PhoneGap error "could not find any version that matches com.google.android.gms:play-services-g cm:9.8+" building android APK

Phonegap fix com.google.android.gms:play-services

Building android app with PhoneGap error could not find any version that matches com.google.android.gms:play-services-g cm:9.8+ fix

If you have been trying to build your android application using PhoneGap CLI command >> phonegap build android and you have been receiving the following error: "could not find any version that matches com.google.android.gms:play-services-g cm:9.8+." then follow the following steps to fix it

  1. On your command prompt type in: android.
  2. The android SDK manager will show up, scroll down until you find "Extras".
  3. Update both "Google Play Services" and "Google Repository" to the latest version as shown in the below screenshot.
  4. Close the android SDK manager and go back to the command prompt.
  5. Retry the build command >> phonegap build android


Hope this helps and feel free to leave me a comment in case you have any question.

What You Should Read Next

The following articles are related to phonegap fix com.google.android.gms:play-services.

The complete guide to migrating an existing Cordova application to a Cordova project on Visual Studio 2017 with building and running the app in 3 steps

A step-by-step quick guide on how to allow a PhoneGap android application to upgrade new versions without Google play store or any auto-update plugins.

Share:
img-background
Fady Soliman
Fady SolimanMember since
Jun 22, 2013
Loading...
Did you find this helpful?
Leave your Comment
Loading...
Contact us now!
Loading...