I installed push plugin on ionic app and got this build fail
Found firebase-messaging:11.6.2, but version 11.0.4 is needed for the google-services plugin.
:app:processDebugGoogleServices FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugGoogleServices'.
>
Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at https://bintray.com/android/android-tools/com.google.gms.google-services/) or updating the version of com.google.android.gms to 11.0.4.
Change the setting inside the project.properties file.
Changing it in the build.gradle (module:app) does not help as this file gets overridden everytime you build your project.
Facing below issue:
google-services plugin could not detect any version for com.google.android.gms or com.google.firebase, default version: 9.0.0 will be used.
please apply google-services plugin at the bottom of the build file.
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
at build_dv6lzgluo19ykxjukiyadsxm9.run(/Users/sumeet/theVille/platforms/android/build.gradle:144)
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
FAILURE: Build failed with an exception.
What went wrong:
A problem occurred configuring root project âandroidâ.
Cannot add task â:processDebugGoogleServicesâ as a task with that name already exists.