push notification - Android Build error -
i doing ionic push notification using fcm during build apk build error came.please me solve issue.
error: cmd: command failed exit code 1 error output: failure: build failed exception.
* went wrong: problem occurred configuring root project 'android'. > not resolve dependencies configuration ':_debugcompile'. > not find version matches com.google.android.gms:play-service s-gcm:9.8+. versions not match: 9.4.0 9.2.1 9.2.0 9.0.2 9.0.1 + 5 more searched in following locations: https://repo1.maven.org/maven2/com/google/android/gms/play-services-gcm /maven-metadata.xml https://repo1.maven.org/maven2/com/google/android/gms/play-services-gcm / https://jcenter.bintray.com/com/google/android/gms/play-services-gcm/ma ven-metadata.xml https://jcenter.bintray.com/com/google/android/gms/play-services-gcm/ file:/c:/users/veeravel.p/android-sdks/extras/android/m2repository/com/ google/android/gms/play-services-gcm/maven-metadata.xml file:/c:/users/veeravel.p/android-sdks/extras/android/m2repository/com/ google/android/gms/play-services-gcm/ file:/c:/users/veeravel.p/android-sdks/extras/google/m2repository/com/g oogle/android/gms/play-services-gcm/maven-metadata.xml required by: :android:unspecified * try: run --stacktrace option stack trace. run --info or --debug option more log output.
you have add in top-level build file :
dependencies { ... classpath 'com.google.gms:google-services:3.0.0' ... }
Comments
Post a Comment