facebook doesn’t work in android
i’m getting this message when i try to build in android
config file res/values/facebookconnect.xml requested for changes not found at /Users/anspireagency/Dropbox/Doctory_Project/platforms/android/res/values/facebookconnect.xml, ignoring
config file res/values/facebookconnect.xml requested for changes not found at /Users/anspireagency/Dropbox/Doctory_Project/platforms/android/res/values/facebookconnect.xml, ignoring
[string/fb_app_id] /Users/anspireagency/Dropbox/Doctory_Project/platforms/android/app/src/main/res/values/facebookconnect.xml [string/fb_app_id] /Users/anspireagency/Dropbox/Doctory_Project/platforms/android/app/src/main/res/values/strings.xml: Error: Duplicate resources
[string/fb_app_name] /Users/anspireagency/Dropbox/Doctory_Project/platforms/android/app/src/main/res/values/facebookconnect.xml [string/fb_app_name] /Users/anspireagency/Dropbox/Doctory_Project/platforms/android/app/src/main/res/values/strings.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_id] /Users/anspireagency/Dropbox/Doctory_Project/platforms/android/app/src/main/res/values/facebookconnect.xml [string/fb_app_id] /Users/anspireagency/Dropbox/Doctory_Project/platforms/android/app/src/main/res/values/strings.xml: Error: Duplicate resources
[string/fb_app_name] /Users/anspireagency/Dropbox/Doctory_Project/platforms/android/app/src/main/res/values/facebookconnect.xml [string/fb_app_name] /Users/anspireagency/Dropbox/Doctory_Project/platforms/android/app/src/main/res/values/strings.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 23s
21 actionable tasks: 21 executed
(node:6755) UnhandledPromiseRejectionWarning: Error: /Users/anspireagency/Dropbox/Doctory_Project/platforms/android/gradlew: 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.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:mergeDebugResources'.
> [string/fb_app_id] /Users/anspireagency/Dropbox/Doctory_Project/platforms/android/app/src/main/res/values/facebookconnect.xml [string/fb_app_id] /Users/anspireagency/Dropbox/Doctory_Project/platforms/android/app/src/main/res/values/strings.xml: Error: Duplicate resources
[string/fb_app_name] /Users/anspireagency/Dropbox/Doctory_Project/platforms/android/app/src/main/res/values/facebookconnect.xml [string/fb_app_name] /Users/anspireagency/Dropbox/Doctory_Project/platforms/android/app/src/main/res/values/strings.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 23s
at ChildProcess.whenDone (/Users/anspireagency/Dropbox/Doctory_Project/platforms/android/cordova/node_modules/cordova-common/src/superspawn.js:169:23)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
(node:6755) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:6755) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.