# UE5 Android Packaging Error (System.IO.DirectoryNotFound)

**URL:** <https://forums.unrealengine.com/t/ue5-android-packaging-error-system-io-directorynotfound/607658>\
**Category:** Mobile\
**Tags:** unreal-engine, UE5-0, Android, question\
**Created:** [July 18, 2022, 2:10pm UTC](https://forums.unrealengine.com/t/ue5-android-packaging-error-system-io-directorynotfound/607658 "2022-07-18T14:10:54Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anaklosmos](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anaklosmos](https://forums.unrealengine.com/u/Anaklosmos)\
**Post date:** [July 18, 2022, 2:10pm UTC](https://forums.unrealengine.com/t/ue5-android-packaging-error-system-io-directorynotfound/607658/1 "2022-07-18T14:10:54Z")

</div>

Hey everyone! I’m currently trying to package in ue5 for quest 2 and keep running into this error. I’ve updated android studio, changed my sdk version, restarted etc but can’t seem to get anywhere. Anyone know what’s causing this? Thanks!

“PackagingResults: Error: System.IO.DirectoryNotFoundException: Could not find a part of the path ‘C:\Users\Blake\AppData\Local\Temp\UAT\D+Stuffs+Unreal+UE\_5.0\Rules\UATRules-a6cf6bf48bd3e735b2f58f99670fd771Manifest.json’.”

 ![Screenshot 2022-07-07 161857](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/c/d/dcdb3aa7c66fffbfa7504810cedf42cc34bd3861.jpeg)

---

<div class="post-metadata">

**Author:** ![DefaultUsername](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DefaultUsername](https://forums.unrealengine.com/u/DefaultUsername)\
**Post date:** [August 7, 2022, 9:24pm UTC](https://forums.unrealengine.com/t/ue5-android-packaging-error-system-io-directorynotfound/607658/2 "2022-08-07T21:24:38Z")

</div>

Same issue!

---

<div class="post-metadata">

**Author:** ![Anaklosmos](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anaklosmos](https://forums.unrealengine.com/u/Anaklosmos)\
**Post date:** [August 8, 2022, 1:34pm UTC](https://forums.unrealengine.com/t/ue5-android-packaging-error-system-io-directorynotfound/607658/3 "2022-08-08T13:34:13Z")

</div>

Unfortunately no luck here yet. I’ve also posted in the Unreal Slackers discord and got no reply. Let me know if you make any progress on this front! I’ll probably try another discord as well.

---

<div class="post-metadata">

**Author:** ![Anaklosmos](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anaklosmos](https://forums.unrealengine.com/u/Anaklosmos)\
**Post date:** [August 10, 2022, 2:15pm UTC](https://forums.unrealengine.com/t/ue5-android-packaging-error-system-io-directorynotfound/607658/4 "2022-08-10T14:15:32Z")

</div>

I got this figured out! Okay, so this error wasn’t actually what was causing the crash. I looked further up in my log and found these errors piling up:

 ![Error](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/5/f/85fc3d32ece4c1ebe128855f383cded093551825.png)

I navigated to this .target.cs file and found that the numbers at the beginning of my project file name were being highlighted.

 ![Error2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/e/f/def6630db5f82f5f104c3e1cbb148c9a869981df.png)

I renamed my project file (.uproject file, not project folder) to not have numbers at the beginning and now I’m able to package.

TLDR  
Don’t start your .uproject file name with a number!

---

<div class="post-metadata">

**Author:** ![Anaklosmos](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Anaklosmos](https://forums.unrealengine.com/u/Anaklosmos)\
**Post date:** [August 10, 2022, 2:16pm UTC](https://forums.unrealengine.com/t/ue5-android-packaging-error-system-io-directorynotfound/607658/5 "2022-08-10T14:16:46Z")

</div>

I’ve added the solution to this problem if you’re still having issues with this!

---

<div class="post-metadata">

**Author:** ![Ares9323](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ares9323/32/1194521_2.png) [@Ares9323](https://forums.unrealengine.com/u/Ares9323)\
**Post date:** [March 23, 2023, 8:34pm UTC](https://forums.unrealengine.com/t/ue5-android-packaging-error-system-io-directorynotfound/607658/6 "2023-03-23T20:34:28Z")

</div>

> [@Anaklosmos](#):
>
> Don’t start your .uproject file name with a number!

This is pure madness, you also have to delete your intermediate folder otherwise it still doesn’t package…

Thank you for the hint!

---

<div class="post-metadata">

**Author:** ![General\_AKO](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/general_ako/32/1130009_2.png) [@General\_AKO](https://forums.unrealengine.com/u/General_AKO)\
**Post date:** [July 8, 2023, 6:56am UTC](https://forums.unrealengine.com/t/ue5-android-packaging-error-system-io-directorynotfound/607658/7 "2023-07-08T06:56:29Z")

</div>

for me the problem was in the file host

[Can’t package in Unreal Engine 5 ( UE5 ) simple fix ! - YouTube](https://www.youtube.com/watch?v=2io8DLJCcCI)

---

<div class="post-metadata">

**Author:** ![GUROF4R](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gurof4r/32/1099241_2.png) [@GUROF4R](https://forums.unrealengine.com/u/GUROF4R)\
**Post date:** [November 24, 2023, 5:28am UTC](https://forums.unrealengine.com/t/ue5-android-packaging-error-system-io-directorynotfound/607658/8 "2023-11-24T05:28:31Z")

</div>

Hello everyone, I’ve been struggling with the problem myself for a long time. What clearly helped with the problem: in the UE editor itself, go to platforms - Windows (or whatever you want) - click on your device - Force Update Device  
I have updated from the second time, after that he starts swearing at another error "Unreal engine PackagingResults: Error: System.NullReferenceException: Object reference not set to an instance of an object  
Next, we go to the directory “Your project\Intermediate\Source”, select everything, cut it out, create a folder here and throw everything there, click packaging in the editor.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/c/8/4c8b6d964b622056511dc1f767f4a33dd10d1fd6.jpeg)
