I have a working Android aplication which I am now required to upload with Google PAD support, yet after following the documentation and trying multiple changes the App always crashes afer the Unreal Engine splash screen. The aplication starts fine if PAD is disabled.
Haven’t found a solution yet.
I’m curious if people are currently using this plugin without problems and this is just some problem with my setup or not. I’ll be reinstalling Android studio just to test if it works without any kind of component updated. But I’m running out of ideas.
I have no external plugins installed, only enabled Google PAD and Online services (But it only crashes with PAD).
As for FModule, I don’t think I can disable it as it seems to be the Unreal’s module loader, still I´ve tried disabling Editor Scripting Utility without success.
Nice, hope he can give us some insight into this.
By the way, I’ve tested on a new empty C++ project on 4.26.1 with install-time only config and I am getting the same error.
Also tested uploading into Google Play and using bundletool to deploy the application, ending in both cases with the same crash.
Saxhack:
I’m not getting a descriptor error. But you can try with this:
When I first packaged it worked without any error. And I did uploaded it to Google Play. Then next time it gives this error. Now 3 days straight hell can’t find solution
New empty C++ project (4.26.1), install time and only ticking “enable” on PAD.
Not really sure what’s different from the last time I’ve tried it, so I 'cant really say this is the solution, but it is working.
Also:
Ticking any of the “only” options crash the app as before.
Haven’t tried anything else except install-time only deliveries, but I’ve called the download API and, while it failed because
I didn’t have anything to download, it did execute fine without crashing the app.
I also launched with “Only Distribution” and “Only Shipping” disabled via LAUNCH button in Editor on android. But when I package and install the error remains.
I´m really only testing with install-time with this settings: Package Data inside APK (disabled)
Generate chunks (disabled) Use Pak file (enabled)
I made a new project and after I managed to make it work I copied the content folder to the new project.
As I´ve said before, it may be something else and not this particular configuration that makes it work.
Fast-follow packages were generated when I was testing it before, but since the app crashed I cant say if they were actually working.
Maybe you could try using this Install-time config first to test if PAD works and then move up to other delivery methods?
How exactly did you created Fast-follow packages? I’ve read the documentation but didn’t understand when and where to move chunks to create fast-follow deliveries
I used the Data Asset approach, setting chunk ID 1 for fast-follow and leaving the rest with the default ID for the base installation.
Chunks get saved in “Saved\StagedBuilds[PlatformName][ProjectName]\Content\Paks” when you build the app, and then you are supposed to move them to
“Build/Android/gradle/assetpacks/fast-follow/[assetpackname]/src/main/assets” so that they get packaged into the ABB next time you generate it.
As I’ve said before, I’ve never got it actually running, but paks where generated and integrated into de ABB.