# Failed compiling Android resources (1.3.0)

**URL:** <https://forum.defold.com/t/failed-compiling-android-resources-1-3-0/70523>\
**Category:** Questions\
**Created:** [March 11, 2022, 3:16pm UTC](https://forum.defold.com/t/failed-compiling-android-resources-1-3-0/70523 "2022-03-11T15:16:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![maelig.moreau](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/maelig.moreau/32/6991_2.png) [@maelig.moreau](https://forum.defold.com/u/maelig.moreau)\
**Post date:** [March 11, 2022, 3:16pm UTC](https://forum.defold.com/t/failed-compiling-android-resources-1-3-0/70523/1 "2022-03-11T15:16:52Z")

</div>

Hello everyone,  
While trying to bundle this [GitHub - defold/dev-app: Empty Defold application suitable for iterative development using the Defold editor and hot reload · GitHub](https://github.com/defold/dev-app) I got an error from Unknown Source “Failed compiling Android resources”. I tried to bundle other apps and they all get this error. I’ve tried to change the parameters in the bundling interface (like like architecture and texture compression) and it doesn’t change anything. Just in case I also tried to bundle it in release mode (which is not my goal but I wanted to see if it was related to the debug mode).

Is it a bug or is there something I might be doing wrong?

Thank you!

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [March 17, 2022, 10:12am UTC](https://forum.defold.com/t/failed-compiling-android-resources-1-3-0/70523/2 "2022-03-17T10:12:16Z")

</div>

> [@maelig.moreau](#):
>
> Is it a bug or is there something I might be doing wrong?

Sorry for the late reply. Can you please tell us more? Are you using Windows? Is it this problem you are experiencing?

> [@I get the "resource cannot be null" error in the latest version of the engine](https://forum.defold.com/t/i-get-the-resource-cannot-be-null-error-in-the-latest-version-of-the-engine/70503):
>
> When bundling my project on Defold 1.3.0, it fails with the resource cannot be null error. It bundles just fine on an older version(1.2.189) of the engine. Why does this happen? the dependencies used are https://github.com/defold/extension-iap/archive/2.0.2.zip https://github.com/defold/extension-review/archive/3.0.1.zip https://github.com/defold/extension-admob/archive/refs/tags/2.0.0.zip https://github.com/defold/extension-push/archive/refs/tags/3.2.3.zip https://github.com/defold/extension-…

---

<div class="post-metadata">

**Author:** ![maelig.moreau](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/maelig.moreau/32/6991_2.png) [@maelig.moreau](https://forum.defold.com/u/maelig.moreau)\
**Post date:** [March 17, 2022, 10:57am UTC](https://forum.defold.com/t/failed-compiling-android-resources-1-3-0/70523/3 "2022-03-17T10:57:37Z")

</div>

No problem!

Yes I am using Windows 64bits. By the time I posted there was a small update so I downloaded it and tried to bundle dmengine and my current project for Android. Unfortunately the problem persists however I’ve got a different type of error on my current project :

- The dmengine attempt to bundle still fails with the “failed compiling Android ressources”
- My current project now fails with “contextResource cannot be null”, it uses the Rive dependency [https://github.com/defold/extension-rive/archive/main.zip](https://github.com/defold/extension-rive/archive/main.zip) and nothing else really I’m just at the beginning from now.

So the post you linked down below doesn’t exactly have the same problem as I do, however as you can see there are similarities in the error message and a problem with dependencies. Also the dmengine attempt to bundle still fails the same way as before.

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [March 17, 2022, 11:25am UTC](https://forum.defold.com/t/failed-compiling-android-resources-1-3-0/70523/4 "2022-03-17T11:25:40Z")

</div>

Could you please try again? We had some issues with the build servers.

> [@Build Remote Engine Failed - Internal Server Error](https://forum.defold.com/t/build-remote-engine-failed-internal-server-error/70560/6):
>
> The server was restarted and just now came back online. Please try the original url again: [https://build.defold.com](https://build.defold.com)

---

<div class="post-metadata">

**Author:** ![maelig.moreau](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/maelig.moreau/32/6991_2.png) [@maelig.moreau](https://forum.defold.com/u/maelig.moreau)\
**Post date:** [March 17, 2022, 6:42pm UTC](https://forum.defold.com/t/failed-compiling-android-resources-1-3-0/70523/5 "2022-03-17T18:42:37Z")

</div>

I just tried again and still the same error “Failed compiling Android resources” with dmengine

On my main project the error message changed yet again  
/defold-rive/plugins/lib/x86\_64-win32/libRiveExt.dll  
D:\Développement\Defold Engine - Projects\Project\build\plugins\defold-rive\plugins\lib\x86\_64-win32\libRiveExt.dll (Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus)

This is the message I literally got, it means “The process can’t access the file because the file is used by another process” hope it helps, might be a whole different problem.

---

<div class="post-metadata">

**Author:** ![Mathias\_Westerdahl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/mathias_westerdahl/32/228_2.png) [@Mathias\_Westerdahl](https://forum.defold.com/u/Mathias_Westerdahl)\
**Post date:** [March 17, 2022, 8:34pm UTC](https://forum.defold.com/t/failed-compiling-android-resources-1-3-0/70523/6 "2022-03-17T20:34:37Z")

</div>

> [@maelig.moreau](#):
>
> “The process can’t access the file because the file is used by another process”

Ah, yes, that’s another issue that should be fixed in the next Beta (coming out on monday). ([pull request](https://github.com/defold/defold/pull/6472))  
The current workaround is to bundle using bob.jar , I’m afraid (since the editor has the .dll locked)
