Firebase plugin show error on executing the cordova plugin rm cordova-plugin-firebase command. It shows the following error.
Uninstalling cordova-plugin-firebase from android
Android Studio project detected
missing file :: app/src/main
Error during processing of action! Attempting to revert...
Uh oh!
ENOENT: no such file or directory, open 'D:\cordova projects\HTMLCodePlay\platforms\android\AndroidManifest.xml'
Same problem:
cordova plugin rm cordova-plugin-firebase
Uninstalling cordova-plugin-firebase from android
Android Studio project detected
missing file :: app/src/main
Error during processing of action! Attempting to revert...
I was able to remove the plugin by running
cordova platform rm android
and then
cordova plugin rm cordova-plugin-firebase
and then re-adding the android platform
I've have just started to get this problem as well.
I believe the plugin need to be updated to support cordova-android 7.1.4.
I'm having this bug now. I need to reinstall the plugin and this error appears when I try to uninstall it. If the problem is that this plugin is not compatible with version 7.1.x of cordova-android, should I expect any more problems in the future?
Most helpful comment
I was able to remove the plugin by running
and then
and then re-adding the android platform