As two topic and after update to newest b4a version, my apk size very big (+9MB because file NotoColorEmojiCompat.ttf which only use Android Kitkat ):
www.b4x.com
www.b4x.com
This problem cause by Appcompat library use :emoji2 bundled library , and some bugs about customview-poolingcontainer too.
So this is my fix:
1. Download all files from my zip, copy it to your external library.
2. Replace your Appcompat library in internal library OR you can delete form internal library and copy these files to external library folder (because default b4a will use form internal appcompat library, we need update it by replace it or use external library )
3. Add these line to your project:
Enjoy! Now APK size will be - 9(10MB). Please test and comment for me to fix more!
[CLOSED] - SDK 34 vs SDK 33 - bigger APK file size in SDK 34
THIS IS NOT A BUG NOR AN ISSUE. IT IS NOW CLOSED Hello The same app under SDK 34 is much larger then SDK 33. I have used 7zip to view the APK and here is what I found; SDK 33 Size SDK 34 Size atlas_sos4.apk 5,592,107 atlas_sos4.apk 19,725,524 Not present...

[SOLVED] Increase in APK size with the new SDK34
Compiling with the new SDK34, I noticed that the file size of my project increases from 10,733KB to 23,052KB. Looking inside the APK, I see that there are some files in the ASSETS folder that I haven't used in my project: NotoColorEmojiCompat.ttf Does anyone know how to remove this file? And...

So this is my fix:
1. Download all files from my zip, copy it to your external library.
2. Replace your Appcompat library in internal library OR you can delete form internal library and copy these files to external library folder (because default b4a will use form internal appcompat library, we need update it by replace it or use external library )
3. Add these line to your project:
B4X:
#AdditionalJar:customview-poolingcontainer-1.0.0.aar
#AdditionalJar:emoji2-1.0.0.aar
#AdditionalJar:emoji2-views-helper-1.0.0.aar