# Error to load xml file

**URL:** <https://discuss.gradle.org/t/error-to-load-xml-file/46905>\
**Category:** Help/Discuss\
**Tags:** android, flutter\
**Created:** [November 2, 2023, 5:11pm UTC](https://discuss.gradle.org/t/error-to-load-xml-file/46905 "2023-11-02T17:11:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cursed](https://avatars.discourse-cdn.com/v4/letter/c/58956e/32.png) [@Cursed](https://discuss.gradle.org/u/Cursed)\
**Post date:** [November 2, 2023, 5:11pm UTC](https://discuss.gradle.org/t/error-to-load-xml-file/46905/1 "2023-11-02T17:11:21Z")

</div>

I have set up a flutter project but when i run it i get this error:

```plaintext
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction
   > Android resource linking failed
     C:\Windows\System32\learningdart\build\app\intermediates\packaged_manifests\debug\AndroidManifest.xml: error: failed to load XML file: The system cannot find the file specified. (2).

```

I located the .xml file in the disk but i dont know what to do with it to fix the problem. Any help?

---

<div class="post-metadata">

**Author:** ![Vampire](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/vampire/32/9082_2.png) [@Vampire](https://discuss.gradle.org/u/Vampire)\
**Post date:** [November 3, 2023, 11:12am UTC](https://discuss.gradle.org/t/error-to-load-xml-file/46905/2 "2023-11-03T11:12:54Z")

</div>

I guess it is **not** under `C:\Windows\System32` where it is searched for.  
So it seems you somewhere maybe configured something wrong.  
But this does not sound like a Gradle issue.  
You should probably ask in some Flutter or Andrdoid community.

---

<div class="post-metadata">

**Author:** ![Cursed](https://avatars.discourse-cdn.com/v4/letter/c/58956e/32.png) [@Cursed](https://discuss.gradle.org/u/Cursed)\
**Post date:** [November 4, 2023, 10:00am UTC](https://discuss.gradle.org/t/error-to-load-xml-file/46905/3 "2023-11-04T10:00:34Z")

</div>

Thanks for answering. Now that you mentioned it everytime i open vs code i get a message to configure the project but i always skip it because i dont know what i should do. Maybe thats the problem?

---

<div class="post-metadata">

**Author:** ![Vampire](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/vampire/32/9082_2.png) [@Vampire](https://discuss.gradle.org/u/Vampire)\
**Post date:** [November 6, 2023, 2:53am UTC](https://discuss.gradle.org/t/error-to-load-xml-file/46905/4 "2023-11-06T02:53:12Z")

</div>

I have no idea what that message might mean, I use a proper IDE, not a fancy text editor. 🙂  
But I doubt it is related.  
But as I said, a Flutter or Android community probably can tell you better what is wrong in your setup.
