How To Fix Crash in Android 12/13 (32/33) package project AAB or APKS

MikuniTensai
Fri, 05 May 2023 15:15:58 +0000
Tutorial & Course Discussions

Hi greetings, here let me read the story of my personal experience when I had a problem like the title of this forum, in my problem I wanted to distribute to Playstore but after everything was done there was a problem with Android users version 12 and above, how do I solve the problem? can be listened to and hopefully help.

1. Open your unreal engine and compile/package the project for aab which will be distributed to the playstore maybe I will give a little of my settings like the following where I use the google pad plugin.

my goal is to do a package project so that the gradle app can be opened in android studio where is the location of the folder in …\Unreal Projects.…\Intermediate\Android\gradle

2. Now open android studio and open the location of the folder above …\Unreal Projects.…\Intermediate\Android\gradle

and some of the android studios that you have to change can follow my method, and click project strucutre

and change to …

add dependencies: implementation ‘androidx.work:work-runtime-ktx:2.7.0’

on buildAdditions.gradle change version implementation ‘com.android.billingclient:billing:***’ to newer

It’s enough to get here, the problem I’m experiencing is to change too far from what is in the unreal engine, I don’t recommend it because it can eliminate some of the features in your application. now you can try by clicking the run button in android studio so it doesn’t take too long for testing and you can find the method yourself on the forum to enable usb debugging and installed usb in developer mode

and I forgot to remind you don’t forget to press sync first then clean project

NOTE: if you get an error like ueAFSProjectAssembleRelease open buildAdditions.gradle on // — Begin AFSProject — delete the if written in the notice error message

from the beginning it appeared 4 if now there are 2 left

this way work 100% in i start from latest android 7, 12 and 13 everything works perfect. I hope this helps

3 posts - 2 participants