PC with reversing tools e.g. ApkTool or similar
Reversing tool on Android e.g. apk editor pro
There are 2 types of split APKs.
One type does have 2 split APKs (base APK + config.architecture APK), the other type does have 4 split APKs in total.
Let’s start first with the easy one, the 2 split APK:Take the base APK and decompile it.Take the lib folder of the config.arch APK and add it to the decompiled base APK.Now open the AndroidManifest.xml in the decompiled base APK and remove this setup: android:isSplitRequired=”true”.Compile the base APK, sign it or make it unsigned with the META-INF of the base APK.Done =)
Now to the 4 or more split APK:
This is a bit more complicated.
The 4 split APKs are basically: base APK + config.arch APK + config.mdpi APK + config.random APKTake the base APK and decompile itTake all other split APKs and decompile themNow put all files of the split APKs to the base APK but do not override files (there will be files already existing in the base APK, do not overwrite them!)Open the AndroidManifest.xml in the decompiled base APK and remove this setup: android:isSplitRequired=”true”Open the apktool.yml and add in the doNotCompress tag of the base.apk everything you have in the other split APKsNow you have to do the annoying job to check the .xml files in the APK/res/value folder in all the split APKs and add whats missing inside that files from the other split APKs to the base APK .xml files.
NOTE: This step is time consuming but it can be skipped on some games. Try first if the game works without this step to save time. If it works, skip it.Compile the base APK, sign it or make it unsigned with the META-INF of the base APK.Done =)
Use SAP (Split APKs Packer) to transform Android App Bundles into single Android Packages!