Unreal Engine 5 on Android - Permission Required, Storage, Error Screen
The game does not start, instead you see the Permission Required, Storage, Error Screen
Error [ANDROID] Title: Permission Required - Text: You must approve this permission in App Settings: Storage - Buttons: Seetings, Quit.
The problem targets Android 13 API 33 and above
Solution that did worked for me (not amazing, but at least it works)
Go to Project Settings > Android > APK Packaging search for "UseExternalFilesDir for UnrealGame files?" set it to True (check the box)
Next go to Project Settings > Android > Launch Images search for "Show launch image" set it to False (uncheck the box)
Is not the most amazing solution, because from this point on the application will not show a start image, but at least the users will be able to open the application.
Solution that is not for Android 13 API 33, but has worked well in the past (you can implement also this step)
Go to Project Settings > Android > Advanced APK Packaging search for Extra Permissions add 4 extra as following
android.permission.WRITE_EXTERNAL_STORAGE
android.permission.READ_EXTERNAL_STORAGE
android.permission.WRITE_INTERNAL_STORAGE
android.permission.READ_INTERNAL_STORAGE
Untested solution to this problem (it may work) - change the AndroidManifest.xml file
C:\Users\(your username)\Documents\Unreal Projects\(your project)\Intermediate\Android search for AndroidManifest.xml file and change
From:
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
To:
<uses-permission
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="18" />
This means when this app is installed on an Android device with an API higher than 18 (you could also choose other versions) the WRITE_EXTERNAL_STORAGE permission will be ignored as if it wasn’t even in the AndroidManifest.xml file.
Solution that didn't worked for me, but worked for some devs
Go to
C:\Users\(your username)\Documents\Unreal Projects\(your project)\Build\Android
create a .txt file - call it ManifestRequirementsOverride.txt
add the following text
<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="33" />
android.permission.WRITE_EXTERNAL_STORAGE
android.permission.READ_EXTERNAL_STORAGE
About Me - I'm an indie game dev, active on Unreal Engine since 2019, I made multiple games for PC and Android platforms - if you want to support a fellow dev, check out my games on Google Play Store - I'm also a music producer and web dev - if you want to follow my projects the links are above. Have a nice day!
Read more articles about Unreal Engine
Unreal Engine 5.4.2 SDK NDK JDK 0 Android Errors App Store
Unreal Engine 5 com.google.android.play:core:1.10.0
Unreal Engine 5 XAPK File Validation Failed
Unreal Engine target API level, SDK issues, Billing Library errors Solution
Unreal Engine Migrate a Project to a New Engine Version
Unreal Engine Android App Bundle (Different Type of Key Store) To Upload .aab on Google Play Store
Unreal Engine - How To Generate Key Store for .apk (Sign Projects for Release)
Unreal Engine 5 on Android - Permission Required, Storage, Error Screen
Unreal Engine 5 androidx.fragment:fragment:1.0.0 outdated
Unreal Engine 5 Update Google Play Billing Library 3, 4 or 5 to 6
Unreal Engine 5 Package Project Android Set up SDK NDK JDK 2024 update
Comments
Post a Comment