Open vvsraju04 opened 7 years ago
content of C:\Users\guest\Documents\cordova_projects\myapp\platforms\android\cordova-plugin-firebase-realtime-database\myapp-build-extras.gradle
cdvPluginPostBuildExtras.add({ println 'handscan-build-extras' buildscript { repositories { mavenCentral() } dependencies { classpath 'com.google.gms:google-services:3.0.0' } } apply plugin: 'com.google.gms.google-services' })
Then after i got below error
Error: cmd: Command failed with exit code 1 Error output: Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details.
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':processDebugGoogleServices'.
Please fix the version conflict either by updating the version of the google-s ervices plugin (information about the latest version is available at https://bin tray.com/android/android-tools/com.google.gms.google-services/) or updating the version of com.google.android.gms to 9.0.0.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
After adding cordova-plugin-firebase-realtime-database to project , getting following error while building the project,