arnesson / cordova-plugin-firebase

Cordova plugin for Google Firebase
http://arnesson.github.io/cordova-plugin-firebase
MIT License
1k stars 1.55k forks source link

Failed to capture fingerprint of input files for task ':app:preDebugBuild' property 'compileManifests' during up-to-date check. #1106

Open ahmedfarag2010 opened 4 years ago

ahmedfarag2010 commented 4 years ago

I've just installed the plugin and added android platform then i tried [cordova run android] and got this error.

joshbell commented 4 years ago

I'm also getting this error. Did you get it resolved?

go2hyder commented 4 years ago

+1

zvihersh commented 4 years ago

try this solution, it worked for me.

ghost commented 4 years ago

This plugin doesn't seem to be getting updates.

Easy fix is to use this plugin, as suggested here and here.

ionic cordova plugin remove cordova-plugin-firebase ionic cordova plugin add cordova-plugin-firebase-lib@3.3.0 --save

lucasjmoura23 commented 4 years ago

@brenod it worked for me! Thanks

kapilSoni101 commented 4 years ago

@brenod :sir but i am not using cordova-plugin-firebase i am using cordova-plugin-fcm-with-dependecy-updated telll me what i do know?

ghost commented 4 years ago

@kapilSoni101 were you using cordova-plugin-firebase before? There could be some errors with compatibility when migrating from one plugin to another. You could try to reinstall everything:

ionic cordova platform rm android
cordova plugin rm cordova-plugin-firebase
cordova plugin rm cordova-plugin-fcm-with-dependecy-updated
ionic cordova platform add android@latest
ionic cordova plugin add cordova-plugin-fcm-with-dependecy-updated
ionic cordova build android

if nothing works, maybe this can help

kapilSoni101 commented 4 years ago

@brenod : thanks for ur response sir. 1st solution not worked for me but 2nd worked for me and i got another error generated

FirebaseInstanceId.getInstance().getInstanceId().addOnCompleteListener(new OnCompleteListener() {
symbol: class InstanceIdResult
location: class FCMPlugin