Announcement

Collapse
No announcement yet.

No google playstore key, Obb not found

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    No google playstore key, Obb not found

    I have an Android project with UE 4.24. I'm able to run this project from the Editor on my device. However, when I try to package the game and when I deploy it on the Google Play Store, when I get it on my phone I have the message "No google playstore key, Obb not found" and I'm unable to start the app.

    I don't have the possibility to package the game data in the APK as the size of my game is almost 2GB. Is there any other workaround or solution to this issue?

    #2
    You should always use expansion files (.obb) for your builds to GooglePlay.

    Comment


      #3
      I have an expansion file (an OBB) created. The OBB is then uploaded to the Google Play store and attached to its APK. Yet I have this message.
      I have also noticed something: if I use the generated .bat file to manually upload the game on my device, it works fine. It's only when I'm getting the project from the Google Play store that I have this error.

      Comment


        #4
        I'm still looking for the cause of this problem. I'm adding here new informations from investigation: when I upload the APK and the OBB manually using the .bat file, the OBB file is placed in /sdcard/Android/obb/my.package/
        When I get the app from the Google Play Store, this directory is created, but remains empty (even though the download of the app was including the size of the OBB).

        Comment


          #5
          Also the behavior is different when it's just after a restart of the phone or later.
          After a fresh restart, the Google Play store will start the download of the APK (according to the downloaded size), then will get stuck for a moment, then it will download the OBB. After the completion of the download, it will say that the app failed to install (but it will still appear in the list of apps).
          If I retry a new installation of the app just after, the download will start and run without any problem. But when it's finished, the OBB is not installed and the app is not working.

          I would suspect a problem with my phone, but actually I have a co-worker who is using another phone and who has the same problem with the app, so I'm starting to think that it may be a bug of UE4.

          Comment


            #6
            Are you getting the same issue as described in my post ?
            https://forums.unrealengine.com/deve...-on-android-10

            Which devices have you tested it?and which android version? i tried 4.23 and 4.24 binary, but no luck

            In my case, sometime i get an error from googleplay when finished, but most times not. Also when i launch the app and it starts to download the obb again, after some seconds it will try to open it before it gets downloaded and will result in crash. BUT if i minimize it when it downloads, it will download the obb and once finished i can launch it. Tried on a mi5 Android 8 and on mi8 android 10, and i did not get those issues. only on mi9 with android 10 i got this, but am sure there will be issues with other devices also...

            Would you mind share your android setup and permissions? what NDK you are packaging? are u using a different ndk from the one epic suggests?
            Last edited by GRADgr; 03-14-2020, 08:09 AM.

            Comment


              #7
              I don't have exactly the same issue that you have but it seems to be related: I have the same download screen excepts that the download doesn't start, it says the message "No google playstore key, Obb not found" and that it can't download the OBB file. But it means that in your case or in mine, there is an issue with the download of the OBB from the Play Store.
              Sometimes I also get an error from Google Play when finished. It seems to happen if I try to download after a restart of my device.

              I have tried also with UE 4.23 and 4.24 on a One Plus 6 and on a Sony Xperia (both running Android 10).

              My permissions in the project settings are:
              - android.permission.ACCESS_COARSE_LOCATION
              - android.permission.ACCESS_FINE_LOCATION
              - android.permission.WRITE_EXTERNAL_STORAGE
              - android.permission.READ_EXTERNAL_STORAGE

              For the last two ones I've head that it may solve the issue, but it didn't change anything.

              I'm using NDK toolchain r14b with NDK version 19. I think that's the default settings because I didn't change anything there.

              I will also try to minimize the Play Store during the download to see if this changes anything on my side.

              Comment


                #8
                I tried minimizing the Play Store during the download. The behavior is changing a little but it's still not working for me.

                Comment


                  #9
                  Still investigating on this issue. I've registered logs during the installation. I've noticed the following lines which seem weird:

                  Code:
                  03-14 15:39:18.918: D/OPBF(1275): pkg:com.isaratech.myproject is installed
                  03-14 15:39:18.919: I/Finsky(5552): [2] mqy.c(4): IT: Successful install of com.isaratech.myproject (isid: 4BV3HlgRRfqLxLsOX0W2Xg)
                  03-14 15:39:18.929: I/Finsky(5552): [2] mrg.a(101): IT: com.isaratech.myproject to state 70
                  03-14 15:39:18.930: I/Finsky(5552): [2] rba.d(9): Invalidating cached PackageState for com.isaratech.myproject
                  03-14 15:39:18.932: I/Finsky(5552): [2] mrg.d(26): IT: Cleaning up task: com.isaratech.myproject
                  03-14 15:39:18.934: E/Finsky(5552): [2] mrg.d(45): IT: Lost main obb file for com.isaratech.myproject
                  03-14 15:39:18.934: W/Finsky(5552): [2] mrg.a(232): IT: Cleanup running installation of com.isaratech.myproject (..obb_main)
                  03-14 15:39:18.939: I/Finsky(5552): [2] moq.b(18): Installer: stopping tracking of task: com.isaratech.myproject
                  03-14 15:39:18.941: I/Finsky(5552): [2] moq.a(184): Installer: Notifying status update. package=com.isaratech.myproject, status=INSTALL_ERROR

                  Comment


                    #10
                    Hi, I got the same problem. Go to Project settings/Android and uncheck "Disable verify obb on first start".
                    And anyway problem on my phone where I test game from editor ("launch on device") when i downloading from Google Play (not downloading and not start), i think because some data exist on phone. On clear phone that download game first time it's all work.
                    Regards.

                    Comment


                      #11
                      IsaraTech, your issue might be google play setup for the key. The key you are using in your Build/Android/ has a unique SHA-1 . Also check that that SHA-1 from your key is been assigned properly to google play services.

                      Comment


                        #12
                        Were you ever able to resolve this issue? I have noticed some users on Android 10 are receiving the same issue for my game.

                        Comment


                          #13
                          I am also having this issue, IsaraTech. were you able to solve it? tamerbek I had "Disable verify obb on first start" unchecked from the beginning, it is still not working for me.

                          Comment


                            #14
                            IsaraTech. please answer, did you solved that problem?) It happens to my OnePlus 6T with Android 10, but works great on Android 9

                            Comment

                            Working...
                            X