Fix could not find any version that matches com.google.android.gms:play-services-g cm:9.8+.

Phonegap fix com.google.android.gms:play-services
04 November, 2016
Fady Soliman
65 Views

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


Android SDK Manager

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

04 November, 2016
Fady Soliman
phonegap
65 Views

Did you find this helpfull?

About The Author

Fady Soliman

An experienced, resourceful and highly motivated IT professional, with a proven record of success in both Stack Development and Software Architecture. Possesses a wealth of transferable skills, including outstanding interpersonal, problem solving and staff management abilities. A capable organizer, quick to grasp – and make good use of – new ideas and information, and reliable and conscientious in all he takes on.

leave A Comment