[Android] UE4Game folder is not created with Target SDK version set to 24

Took me a while of hair ripping to figure this one out but if you set the Target SDK version to 24 then on the android device the UE4Game folder is not created at all and as a result you cannot create any save games.

I have setup my project correctly for daydream development hence the reason I’m requiring version 24 (as per: https://developers.google.com/vr/unreal/daydream-in-unreal#additional_project_settings )

I tested on two different devices: Galaxy S7 & Pixel XL

Example project attached. FYI: If I change the target to 21 it works again.

Obviously without save games no releasable daydream project is actually possible … :frowning:

Settings being used:

[exampleproject][3]

This looks to be a permission issue. Setting the target SDK to 23 or higher means the application is only granted permissions in the AndroidManifest.xml not marked as “Dangerous”. WRITE_EXTERNAL_STORAGE is in this category. We will need to check for permission and request it if not already granted each time we want to write. The full list of permissions with their categories is here: link text.

You can set the target SDK to 22 and leave the SDK level as android-24. In 4.15 I’ve also added support for distribution builds to write to the applications external directory instead of /mnt/sdcard/UE4Game which also avoids the permission problem.

Thanks for clearing that up Chris! I’ll use target SDK 22 for now.

so Target SDK highest version is 24 in UE4? I create a empty project and set Target SDK to 27, it crush when I open app.
If highest Target SDK version is 22, it should write in tip note. I try to fix this problem for 3 days…

I was facing the same problem in UE4.25.3 in the last couple days, trying everything, until I found this thread. After settings the Target SDK version to 22, the game folder got created in the internal memory.

This problem was reported a long time ago. Has there been a solution which I probably has missed somehow? Thx.

Iam having issue in saving game to android 11…Kindly help me