Hi all, i am completely stuck for a day. When i package my game for Android for shipping and distribute it for internal test with Google Play Console, the game does not start. Instead a Dialog pops-up: Title: Permission Required / Text: You must approve this permission in App Settings: Storage / Buttons: Seetings, Quit.
Android Version 13 (Samsung Device)
I thought this was triggered by a SaveGame Function in my Blueprint, but when i disconnected this functionality, the problem was still there.
I also tried with declaring android.permission.WRITE_EXTERNAL_STORAGE and android.permission.READ_EXTERNAL_STORAGE in PRoject Settings (Extra Permissions) and checked “UseExternalFilesDir for UnrealGame files”. I also tried with packaging for Development, same thing.
Help really appriciated! Whising you all the best and a great start to 2023!
The game worked well with quickLaunch on the same device.
Edit 01/01/2023: I tried to remove “android.permission.WRITE_EXTERNAL_STORAGE” and “android.permission.READ_EXTERNAL_STORAGE” but still doesn’t work
I will try this, thank you @anonymous_user_8799b80e ! What did you put the ndk version to (could you send a screenshot of your project settings?) Have a great evening!
this doesn’t work for me. can I ask you for a screenshot of the settings of your android studio … and so are the settings for android in the project? I will be very grateful!
Now This!
"From August 31, 2023, if your target API level is not within 1 year of the latest Android release, you won’t be able to update your app.
To continue making updates to your app, ensure your app targets Android 13 (API level 33)."
anyone got the solution?
I’ve read & write permission screen but it is not prompting on my Android 13 device (Samsung ) . I’ve set target API 33 as per the new requirement. All my previous games are not saving anymore.
Edit: anyone still have this issue, I’ve got solution on thin thread:
Up the discussion, “Target SDK Version parameter to 31” is NOT a solution, Google Play demands to use API 33, but with API 33 the game is broken.
Ok, I did change a ManifestRequirementsOverride.txt file and it seems like the issue is fixed (at least on my android 13 there is no poput window anymore) will wait for the Google Play to approve and see if they find an issue.
Go to project folder to \Build\Android and make there ManifestRequirementsOverride.txt file with the content:
In their defence I would say that Google is following the strict rules of the countries. Google has to do such stupid updates to show the EU or other ones that they are “protecting people’s personal data”.
I also hate when my app is suddenly removed from the store because of some labuda at Google but we have no alternatives here, alas.
Just wanted to clarify, So in order for people to be able to save on Android 13 and 14, all you have to do is add this file and all problems will be gone?
I just don’t understand, why do yo u need to add those permissions again when they are already in the Project settings as well as can be added in the blueprint?
The reason i am asking is because in order to be able to save in Android 10 - 11 - 12 there was a solution posted here:
So why add this again?
Can you please explain a bit what is the reasoning behind adding this file?
Sorry I can not describe why this works, I guess that the UE has some SDK limit buildin (if you check the settings for your project you can find that the target SDK ends on 31 for UE5.1) while the UE builds a game it send the info to gradle and tell “no matter what user sets, my max is 31”, that is why we need a manifest, the manifest file is the most important file for the gradle and it should follow what the manifest say.
This is not the right solution. The ManifestRequirementsOverride.txt file will overwrite all existing permissions, but you need to add missing permissions instead of overwriting them. For this purpose, the Project Settings section has a special field “Extra Permissions”, where you can add permissions.
If you target API 33 (Android 13) or higher, you must add these permissions:
Hello good day sir, I am targeting SDK 34 android version 14 when I uploaded my game to the Google console it gives me an error that deals with foreground permission here is the screenshot on the red dot mark