Search code examples
ionic-frameworkcordova-pluginsgoogle-plus-signin

Could not find any version that matches com.google.android.gms:play-services-plus:+


Trying to integrate login with google plus in my ionic project using the cordova-plugin-googleplus plugin by EddyVerbruggen. Without the plugin installed the project builds fine but once I install the plugin building fails and I get this error:

FAILURE: Build failed with an exception.

BUILD FAILED

Any ideas what could be causing the problem?


Solution

  • I finally figured out how to fix this. You need to have the following installed in your Android SDK manager (Under the 'Extras' folder):

    • Android Support Repository
    • Android Support Library
    • Google Play services
    • Google Repository

    I installed them and it worked for me.

    enter image description here

    josschne's comment on this link https://github.com/EddyVerbruggen/cordova-plugin-googleplus/issues/77 tipped me in the direction of checking to see whether I had them installed, In my case I did not.