How to turn a split APK into a normal non-split APK

홈 > 안드로이드 > 안드로이드 > 강좌
안드로이드

How to turn a split APK into a normal non-split APK

3 nqminhquan 27 9964 1

Basically, 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

1. Take the base APK and decompile it.

2. Take the lib folder of the config.arch APK and add it to the decompiled base APK.

3. Now open the AndroidManifest.xml in the decompiled base APK and remove this setup: android:isSplitRequired="true".

4. Compile the base APK, sign it or make it unsigned with the META-INF of the base APK.

5. 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 APK


1. Take the base APK and decompile it

2. Take all other split APKs and decompile them

3. Now 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!)

4. Open the AndroidManifest.xml in the decompiled base APK and remove this setup: android:isSplitRequired="true"

5. Open the apktool.yml and add in the doNotCompress tag of the base.apk everything you have in the other split APKs

6. Now 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.

7. Compile the base APK, sign it or make it unsigned with the META-INF of the base APK.

8. Done =)

27 Comments
3 luke 2020.03.01 20:57  
플래틴모드 자료군요 ㅎㅎ
2 치터치타 2020.04.01 11:13  
정리 감사합니다
7 래바리 2020.04.03 18:22  
감사합니다.

Congratulation! You win the 16 축하드립니다! 당첨되셨어요~!

1 뉴비해커 2020.04.21 07:26  
검서헙나디
1 레어메드 2020.05.16 18:04  
대박이네용
7 임중호 2020.05.24 01:21  
진짜 감사합니다!
4 쿨록 2020.08.07 19:01  
안되 꼬불꼬불하다
1 오아앙 2020.08.09 01:50  
좋은 정보 감사합니다
3 가람 2020.08.12 01:14  
감사합니다 ^_^!!
1 업복이 2020.08.15 10:17  
4개보다 더 많으면 어떻게 해야할까요
1 some 2020.08.16 22:23  
감사합니다
2 로봇입니다 2020.09.10 19:41  
감사합니다.
1 지보갈 2020.12.12 21:09  
감사합니다!
1 깨비나리아빠 2021.01.06 06:30  
감사합니다!
1 sptmxmqlf 2021.03.23 05:09  
감사합니다
1 Klsam 2021.04.30 23:10  
감사합니다
2 공적1 2021.09.06 03:08  
감사합니다~
1 11asqqw1 2021.09.22 00:44  
감사합니다!
1 dnswlcjs 2021.11.26 07:52  
감사합니다
1 dkdk23 2021.12.12 17:42  
감사합니다
1 morpheus 2022.01.31 01:31  
정보 감사합니다.
1 hyeonsu94 2022.04.06 15:48  
감사합니다
1 탱바 2022.05.27 12:02  
감사합니다~
1 마이키 2023.04.12 14:45  
감사합니다 ㅎㅎ
2 nilpas 2023.06.20 13:23  
정말 감사합니다
1 gogo3o33 2023.09.07 18:54  
반갑습니다. 잘 부탁 드립니다.
1 Celcious 02.20 06:36  
감사합니다