PS F:\ionicApps\Somen> ionic cordova platform add android --save
cordova.cmd platform add android
(node:13732) ExperimentalWarning: queueMicrotask() is experimental.
(node:13732) ExperimentalWarning: The fs.promises API is experimental
Using cordova-fetch for cordova-android@^9.0.0
Adding android project…
Creating Cordova project for the Android platform:
Path: platforms\android
Package: com.ionicframework.coenq
Name: COENQ
Activity: MainActivity
Android target: android-29
Subproject Path: CordovaLib
Subproject Path: app
Android project created with cordova-android@9.1.0
Installing “cordova-plugin-console” for android
Installing “cordova-plugin-device” for android
Installing “cordova-plugin-facebook-connect” for android
Subproject Path: CordovaLib
Subproject Path: app
Installing “cordova-plugin-facebook4” for android
Error during processing of action! Attempting to revert…
Failed to install ‘cordova-plugin-facebook4’: CordovaError: Uh oh!
“F:\ionicApps\Somen\platforms\android\app\src\main\res\values\facebookconnect.xml” already exists!
at copyNewFile (F:\ionicApps\Somen\platforms\android\cordova\lib\pluginHandlers.js:231:45)
at install (F:\ionicApps\Somen\platforms\android\cordova\lib\pluginHandlers.js:34:17)
at ActionStack.process (F:\ionicApps\Somen\node_modules\cordova-common\src\ActionStack.js:56:25)
at PluginManager.doOperation (F:\ionicApps\Somen\node_modules\cordova-common\src\PluginManager.js:112:24)
at PluginManager.addPlugin (F:\ionicApps\Somen\node_modules\cordova-common\src\PluginManager.js:142:21)
at F:\ionicApps\Somen\platforms\android\cordova\Api.js:161:78
Uh oh!
“F:\ionicApps\Somen\platforms\android\app\src\main\res\values\facebookconnect.xml” already exists!
1 post - 1 participant