# Read\\write files with UE5.2.1 + Android SDK 32

**URL:** <https://forums.unrealengine.com/t/read-write-files-with-ue5-2-1-android-sdk-32/1376318>\
**Category:** Mobile\
**Tags:** storage, SDK, oculus-quest, permission, unreal-engine, UE5, Android, java, CPP\
**Created:** [November 9, 2023, 5:21pm UTC](https://forums.unrealengine.com/t/read-write-files-with-ue5-2-1-android-sdk-32/1376318 "2023-11-09T17:21:55Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![digitalbug](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/digitalbug/32/690424_2.png) [@digitalbug](https://forums.unrealengine.com/u/digitalbug)\
**Post date:** [November 9, 2023, 5:21pm UTC](https://forums.unrealengine.com/t/read-write-files-with-ue5-2-1-android-sdk-32/1376318/1 "2023-11-09T17:21:55Z")

</div>

I’m working on an application for Quest 2. I’m using UE5.2.1 + Android SDK 32 + Oculus Quest2.  
I want to write and read files from a folder in the root of the Oculus storage. For example “APP\_FOLDER”.

![123](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/8/8/188bfeda147ecf96a04eb84d02820852feada535.jpeg)

When I was working on Android SDK 29, I was able to write and read files from a folder in root of oculus. SDK 32 changes the way Android storage works.  
Perhaps someone can explain to me how to work with storage correctly

---

<div class="post-metadata">

**Author:** ![iamtheanimist](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@iamtheanimist](https://forums.unrealengine.com/u/iamtheanimist)\
**Post date:** [November 10, 2023, 2:03am UTC](https://forums.unrealengine.com/t/read-write-files-with-ue5-2-1-android-sdk-32/1376318/2 "2023-11-10T02:03:30Z")

</div>

Have you been able to launch successfully on the Oculus 2 with SDK 32? Typically I have used the Android folder that self populates in the root. SDK 29 stopped working for me today and apparently all my hardware switched to 32

---

<div class="post-metadata">

**Author:** ![digitalbug](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/digitalbug/32/690424_2.png) [@digitalbug](https://forums.unrealengine.com/u/digitalbug)\
**Post date:** [November 10, 2023, 6:41am UTC](https://forums.unrealengine.com/t/read-write-files-with-ue5-2-1-android-sdk-32/1376318/3 "2023-11-10T06:41:24Z")

</div>

[iamtheanimist](https://forums.unrealengine.com/u/iamtheanimist)  
Yes, the Oculus 2 app works fine on SDK32 except for read/write issues

---

<div class="post-metadata">

**Author:** ![digitalbug](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/digitalbug/32/690424_2.png) [@digitalbug](https://forums.unrealengine.com/u/digitalbug)\
**Post date:** [November 23, 2023, 10:38am UTC](https://forums.unrealengine.com/t/read-write-files-with-ue5-2-1-android-sdk-32/1376318/4 "2023-11-23T10:38:52Z")

</div>

Read\write files is possible, but requires permission from the Google\Oculus Store and the user

> An app can request all-files access from the user by doing the following:
> 
> 1. Declare the [`MANAGE_EXTERNAL_STORAGE`](https://developer.android.com/reference/android/Manifest.permission#MANAGE_EXTERNAL_STORAGE) permission in the manifest.
> 2. Use the [`ACTION_MANAGE_ALL_FILES_ACCESS_PERMISSION`](https://developer.android.com/reference/android/provider/Settings#ACTION_MANAGE_ALL_FILES_ACCESS_PERMISSION) intent action to direct users to a system settings page where they can enable the following option for your app: **Allow access to manage all files**.

---

<div class="post-metadata">

**Author:** ![fsk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@fsk](https://forums.unrealengine.com/u/fsk)\
**Post date:** [February 27, 2024, 3:32pm UTC](https://forums.unrealengine.com/t/read-write-files-with-ue5-2-1-android-sdk-32/1376318/5 "2024-02-27T15:32:45Z")

</div>

Mind sharing how you did the second part?

---

<div class="post-metadata">

**Author:** ![Surya\_Sel](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Surya\_Sel](https://forums.unrealengine.com/u/Surya_Sel)\
**Post date:** [April 9, 2024, 4:12am UTC](https://forums.unrealengine.com/t/read-write-files-with-ue5-2-1-android-sdk-32/1376318/6 "2024-04-09T04:12:40Z")

</div>

Can you please elaborate on this? We’re facing a similar issue on our end.

- What all did you update and where (for the above changes you did)?
- What path did you use for the file writing? A code snippet showing your file write might also help

---

<div class="post-metadata">

**Author:** ![shivering\_tom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@shivering\_tom](https://forums.unrealengine.com/u/shivering_tom)\
**Post date:** [April 26, 2024, 2:43pm UTC](https://forums.unrealengine.com/t/read-write-files-with-ue5-2-1-android-sdk-32/1376318/7 "2024-04-26T14:43:09Z")

</div>

Would also be interested in that as I face a similar issue!

---

<div class="post-metadata">

**Author:** ![Paul\_Eckhardt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Paul\_Eckhardt](https://forums.unrealengine.com/u/Paul_Eckhardt)\
**Post date:** [August 1, 2024, 3:03am UTC](https://forums.unrealengine.com/t/read-write-files-with-ue5-2-1-android-sdk-32/1376318/8 "2024-08-01T03:03:46Z")

</div>

Having issues with this in unreal 5.4, what’s the current workaround?

- I was able to solve this, and posted a writeup here -[Permission requiired you must approve this premission in app settings:storage - #73 by Paul\_Eckhardt](https://forums.unrealengine.com/t/permission-requiired-you-must-approve-this-premission-in-app-settings-storage/656530/73)
