Duplicate Fb_App_id when using account kit with facebook login

Getting duplication fb_app_id error when try to use facebook account kit with facebook login.

I tried to install facebook accountkit plugin without passing app id and app name but it looks like we need to must pass them and i pass them i am getting this error(As i already added facebook login plugin).

Following is the error.

[string/fb_app_name] D:\ionic\k-i4\platforms\android\app\src\main\res\values\accountkit.xml [string/fb_app_name] D:\ionic\k-i4\platforms\android\app\src\main\res\values\facebookconnect.xml: Error: Duplicate resources
[string/fb_app_id] D:\ionic\k-i4\platforms\android\app\src\main\res\values\accountkit.xml [string/fb_app_id] D:\ionic\k-i4\platforms\android\app\src\main\res\values\facebookconnect.xml: Error: Duplicate resources
:app:mergeDebugResources FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ā€˜:app:mergeDebugResourcesā€™.

[string/fb_app_name] D:\ionic\k-i4\platforms\android\app\src\main\res\values\accountkit.xml [string/fb_app_name] D:\ionic\k-i4\platforms\android\app\src\main\res\values\facebookconnect.xml: Error: Duplicate resources
[string/fb_app_id] D:\ionic\k-i4\platforms\android\app\src\main\res\values\accountkit.xml [string/fb_app_id] D:\ionic\k-i4\platforms\android\app\src\main\res\values\facebookconnect.xml: Error: Duplicate resources

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

  • Get more help at https://help.gradle.org

BUILD FAILED in 6s
21 actionable tasks: 1 executed, 20 up-to-date
cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ā€˜:app:mergeDebugResourcesā€™.

[string/fb_app_name] D:\ionic\k-i4\platforms\android\app\src\main\res\values\accountkit.xml [string/fb_app_name] D:\ionic\k-i4\platforms\android\app\src\main\res\values\facebookconnect.xml: Error: Duplicate resources
[string/fb_app_id] D:\ionic\k-i4\platforms\android\app\src\main\res\values\accountkit.xml [string/fb_app_id] D:\ionic\k-i4\platforms\android\app\src\main\res\values\facebookconnect.xml: Error: Duplicate resources

1 Like

Āæencontraste alguna solucion?