# Facebookconnect.xml requested for changes not found

**URL:** <https://forum.ionicframework.com/t/facebookconnect-xml-requested-for-changes-not-found/136076>\
**Category:** ionic-v3\
**Created:** [July 24, 2018, 1:00pm UTC](https://forum.ionicframework.com/t/facebookconnect-xml-requested-for-changes-not-found/136076 "2018-07-24T13:00:23Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![a7mdFo2ad](https://avatars.discourse-cdn.com/v4/letter/a/7993a0/32.png) [@a7mdFo2ad](https://forum.ionicframework.com/u/a7mdFo2ad)\
**Post date:** [July 24, 2018, 1:00pm UTC](https://forum.ionicframework.com/t/facebookconnect-xml-requested-for-changes-not-found/136076/1 "2018-07-24T13:00:23Z")

</div>

facebook doesn’t work in android  
i’m getting this message when i try to build in android

```auto
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

```

ionic info

```auto

cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils : 1.19.2
    ionic (Ionic CLI) : 3.20.0

global packages:

    cordova (Cordova CLI) : 8.0.0

local packages:

    @ionic/app-scripts : 3.1.8
    Cordova Platforms : android 7.1.1 ios 4.5.4
    Ionic Framework : ionic-angular 3.9.2

System:

    Android SDK Tools : 26.1.1
    ios-deploy : 1.9.2
    ios-sim : 6.1.2
    Node : v8.11.1
    npm : 5.6.0
    OS : macOS High Sierra
    Xcode : Xcode 9.2 Build version 9C40b

Environment Variables:

    ANDROID_HOME : /Users/anspireagency/Library/Android/sdk/

```

---

<div class="post-metadata">

**Author:** ![rabhi](https://avatars.discourse-cdn.com/v4/letter/r/b3f665/32.png) [@rabhi](https://forum.ionicframework.com/u/rabhi)\
**Post date:** [July 24, 2018, 3:15pm UTC](https://forum.ionicframework.com/t/facebookconnect-xml-requested-for-changes-not-found/136076/3 "2018-07-24T15:15:10Z")

</div>

check your config.xml file and add:

```auto
<plugin name="cordova-plugin-facebook4" spec="^1.7.4">
        <variable name="APP_ID" value="appID" />
        <variable name="APP_NAME" value="appNAme" />
    </plugin>

```

after that

```auto
ionic cordova platform rm android

```

```auto
ionic cordova platform add android

```

I hope this help you

---

<div class="post-metadata">

**Author:** ![a7mdFo2ad](https://avatars.discourse-cdn.com/v4/letter/a/7993a0/32.png) [@a7mdFo2ad](https://forum.ionicframework.com/u/a7mdFo2ad)\
**Post date:** [July 24, 2018, 3:18pm UTC](https://forum.ionicframework.com/t/facebookconnect-xml-requested-for-changes-not-found/136076/4 "2018-07-24T15:18:15Z")

</div>

hi @rabhi thank you for reply  
it’s exist in config.xml

```auto
    <plugin name="cordova-plugin-facebook4" spec="https://github.com/amritk/cordova-plugin-facebook4">
        <variable name="APP_ID" value="" />
        <variable name="APP_NAME" value="Doctory" />
    </plugin>

```

i deleted the id

---

<div class="post-metadata">

**Author:** ![rabhi](https://avatars.discourse-cdn.com/v4/letter/r/b3f665/32.png) [@rabhi](https://forum.ionicframework.com/u/rabhi)\
**Post date:** [July 24, 2018, 3:20pm UTC](https://forum.ionicframework.com/t/facebookconnect-xml-requested-for-changes-not-found/136076/5 "2018-07-24T15:20:14Z")

</div>

ok so delete the old version of android

```auto
ionic cordova platform rm android

```

and

```auto
ionic cordova platform add android

```

---

<div class="post-metadata">

**Author:** ![a7mdFo2ad](https://avatars.discourse-cdn.com/v4/letter/a/7993a0/32.png) [@a7mdFo2ad](https://forum.ionicframework.com/u/a7mdFo2ad)\
**Post date:** [July 24, 2018, 3:41pm UTC](https://forum.ionicframework.com/t/facebookconnect-xml-requested-for-changes-not-found/136076/6 "2018-07-24T15:41:57Z")

</div>

i’m getting this error

```auto
[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.

```

---

<div class="post-metadata">

**Author:** ![a7mdFo2ad](https://avatars.discourse-cdn.com/v4/letter/a/7993a0/32.png) [@a7mdFo2ad](https://forum.ionicframework.com/u/a7mdFo2ad)\
**Post date:** [July 25, 2018, 9:45am UTC](https://forum.ionicframework.com/t/facebookconnect-xml-requested-for-changes-not-found/136076/7 "2018-07-25T09:45:26Z")

</div>

any help please …

---

<div class="post-metadata">

**Author:** ![altergothen](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/altergothen/32/116770_2.png) [@altergothen](https://forum.ionicframework.com/u/altergothen)\
**Post date:** [November 29, 2018, 9:03pm UTC](https://forum.ionicframework.com/t/facebookconnect-xml-requested-for-changes-not-found/136076/8 "2018-11-29T21:03:56Z")

</div>

I am having the same problem. There does not seem to be consensus on solving this issue.  
Any help please.

---

<div class="post-metadata">

**Author:** ![romica](https://avatars.discourse-cdn.com/v4/letter/r/dec6dc/32.png) [@romica](https://forum.ionicframework.com/u/romica)\
**Post date:** [January 5, 2019, 3:53pm UTC](https://forum.ionicframework.com/t/facebookconnect-xml-requested-for-changes-not-found/136076/9 "2019-01-05T15:53:02Z")

</div>

Have you saw this error:

> Error: Duplicate resources?

Just remove this code from your config file

```auto
        <config-file parent="/resources" target="./res/values/strings.xml">
            <string name="fb_app_id">APP_ID</string>
            <string name="fb_app_name">NAME</string>
        </config-file>

```

Or downgrade your ionic version to 3.20.1 and your angular to 6.1.8

---

<div class="post-metadata">

**Author:** ![AmrAlmagic](https://avatars.discourse-cdn.com/v4/letter/a/df788c/32.png) [@AmrAlmagic](https://forum.ionicframework.com/u/AmrAlmagic)\
**Post date:** [June 13, 2019, 8:19am UTC](https://forum.ionicframework.com/t/facebookconnect-xml-requested-for-changes-not-found/136076/10 "2019-06-13T08:19:58Z")

</div>

This error occur with me when names of icons in path ‘resources\android\icon’ are incorrect.  
solved by edit to correction name of icons

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:28pm UTC](https://forum.ionicframework.com/t/facebookconnect-xml-requested-for-changes-not-found/136076/11 "2021-07-19T21:28:56Z")

</div>

Closed on July 19, 2021, 9:28pm UTC


