[Solution!] No Google Play Store Key (No OBB found and no store key)

I’ve read 20 threads, and tried various different fixes for this issue. I’ve used normal pre - UE4.25 packaging, and also the latest 4.25 packaging.

I simply cannot solve this issue and I’ve been stuck on it for two weeks! Please help me.

Details:

  1. The key was generated as per the UE Docs guide: Signing Projects for Release | Unreal Engine Documentation

  2. The OBB file was added to the Google Play Console version accordingly as an expansion file. I can see the difference when downloading the app from google play (it goes from 50mb without it, to 300mb with it).

  3. I have opted in for Google’s “App Signing by Google Play”, using the Automatic setting. (Use Play App Signing - Play Console Help)

  4. The app works perfectly when installed directly from the UE4 IDE (which makes sense), but fails when downloaded from Google play store

  5. Using UE4.25 with the latest Android Studio setup as per the UE4 Docs guide

2 Likes

If anyone ever has the same issue, where you have a OBB file and you can’t get past this issue, make sure you TICK THIS IN THE ANDROID SETTINGS!

301838-issuye.jpg

8 Likes

I have same that problem. “Disable verify obb on first start/update” enabled. But still there is a problem.

1 Like

hey did anyone find a fix for this

I have found a way around this issue, is not the perfect solution but it might work for you, depending on your game.

I have had the same issues when trying to upload to Google Play.
and getting no.OBB Key Found.

My. APK file was 45MB and the.OBB 125MB
After discovering that Google Play has an application size of 100MB, I thought that maybe the error was coming because my .apk + .obb file was exceeding 100Mb

This is how I solved this issue


I had to go into my game and optimize every single texture I could, and deleting unnecessary animations, audio, and other assets.
I have used Texture size : 256px X 256px and for phone I think it looks great.

I also had to check the settings
Package game data inside the .apk? (true)
I was able to export a 99.6MB .apk file and then I uploaded it to Google Play.This had fixed the OBB Key Not Found for me. I was able to download the game from the store and play it perfectly.

Other Settings to help with Optimization

Package Settings-> Create Compressed cooked packages (true)
Android-> Force small OBB Files (true)

I have tried exporting the game without the game data inside the .apk and even both files not exceeding 100MB I could not make it work on Google Play.
Therefore I would recommend having the settings,

Package game data inside the .apk? (true)


Of course, feel free to test with different settings.

If anyone finds a better alternative please share here, as I think this error could be from something else.
Just sharing what has worked for me.

1 Like

Hey mate merry Christmas, thanks for taking the time to write that. I actually found a solution. Kinda. I could not reduce my game bellow 100mb no matter what I did. I did 3 things to fix this error. Updated to ue 4.26, deleted intermidien-> android folder in the project folder and sadly I had to generate a new keystore. If you create a new keystore you can either request play console to change it(I think you can only do it once) or create new app which is pain in the ■■■. But I am 90% sure it was from the keystore. Anyways this is how I fixed it. Hope it helps someone.

After looking into Unreal source code I noticed that the error does not depend on google play store key at all!

It actually depends on the way UE4 looks for OBB file location(s) on the phone and it’s either bug in Install_XXX-armv7.bat file or bug in UE4 code (still present in 4.26).

My Android phone (Huawei P10) has sd-card and also had install preference “sd card” in storage settings in phone settings.

UE4 code uses Environment.getExternalStorageDirectory() API to check OBB presence and it correctly looks for OBB file on actual sd card, but Install_XXX-armv7.bat always installs OBB file into internal memory (at least in my case).

So for me the simple fix was to SET PREFERRED INSTALL LOCATION TO “INTERNAL MEMORY” IN PHONE SETTINGS. After that Environment.getExternalStorageDirectory() returns the exact same path Install_XXX-armv7.bat installs OBB to and everything works fine. That’s enough for testing, but requires some more research for shipping and publishing builds.

I suppose that in real life, player will install the game through Google Play and Google Play will install OBB into the correct location (I have yet to check this). But overal the current UE4 approach seems a bit unreliable - if player changes install preference settings between internal storage/sd card any installed UE4 game might stop working and/or will start re-downloading OBB into new location.

I was having trouble as well and found that I had some vestigial data from a development build that was causing issues. Deleting the cache and storage of any existing version before uninstalling and reinstalling from the play store worked for me in this case.

Worked for me, thanks for share!

I have the same issue (UE 4.27.1, NDK 23.0.7123448, jdk1.8.0_281; Android 11) and it is not consistent. If I keep making new builds it will eventually either work or display the error message. Also, the build that works will consistently work and the build that does not work will consistently not work.

No

  • not letting me play Apex

any news about it? The worst thing we did was to update to 4.27. Lot’s of issues and very inconsistent :confused:

1 Like

I have the same problem. Any solution? (4.27.2)

What solved for me:

Project Settings > Platforms/Android > Package game data inside .apk
turn this on

8 Likes

this is not suitable for google Playstore. Need more simple solution for Playstore. Because playstore requires only 100MB .apk file size.

same here 4.27.2 any solutions?

please share whole settings about Android package section

I think the problem is the version 4.27.2 (some bug that I can’t find it) with the version 4.25.4 evertything work well (with the same preferences).

this worked for me . Thanks

Whenever I got on a plane never got on apex Legends mobile it says hi no obb