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.
What went wrong: A problem occurred configuring root project 'android'.
Could not resolve all dependencies for configuration ':_debugCompile'. Could not find any version that matches com.google.android.gms:play-services-plus:+. Searched in the following locations: https://repo1.maven.org/maven2/com/google/android/gms/play-services-plus/maven-metadata.xml https://repo1.maven.org/maven2/com/google/android/gms/play-services-plus/ Required by: :android:unspecified Could not find any version that matches com.google.android.gms:play-services-identity:+. Searched in the following locations: https://repo1.maven.org/maven2/com/google/android/gms/play-services-identity/maven-metadata.xml https://repo1.maven.org/maven2/com/google/android/gms/play-services-identity/ Required by: :android:unspecified
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Any ideas what could be causing the problem?
I finally figured out how to fix this. You need to have the following installed in your Android SDK manager (Under the 'Extras' folder):
I installed them and it worked for me.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With