Android Question [CLOSED] - SDK 34 vs SDK 33 - bigger APK file size in SDK 34

Jmu5667

Well-Known Member
Licensed User
Longtime User
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 33SizeSDK 34Size
atlas_sos4.apk
5,592,107​
atlas_sos4.apk
19,725,524​
Not presentatlas_sos4.apk\assets\NotoColorEmojiCompat.ttf
10,530,840​
Not presentatlas_sos4.apk\classes3.dex
10,270,664​
atlas_sos4.apk\classes.dex
4,591,828​
atlas_sos4.apk\classes.dex
7,048,412​
atlas_sos4.apk\classes2.dex
4,930,780​
atlas_sos4.apk\classes2.dex
1,950,680​


The above are noticable differences that I identified.

Regards

John.
 
Last edited:

Jmu5667

Well-Known Member
Licensed User
Longtime User
My libs are:
1721644040298.png
 
Upvote 0

Jmu5667

Well-Known Member
Licensed User
Longtime User
NotoColorEmojiCompat.ttf is inside
extras\b4a_remote\androidx\emoji2\emoji2-bundled\1.4.0\unpacked-emoji2-bundled-1.4.0\assets
thanks for the direction Don ! In other apps I have it does not get included. I will try to find what i am using that includes this.
 
Upvote 0

Daestrum

Expert
Licensed User
Longtime User
Dont know, I am trying to find out what is triggering the inclusion of the file
jdeps can tell you
B4X:
jdeps -verbose:class yourjarfile.jar

you might need to redirect to a txt file as the output can be quite large.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

ema01

Member
Licensed User
Longtime User
I also have big increase in APK size (10MB from 6MB) by only updating B4A and SDK.
In my case classes.dex is much bigger and there is a new classes2.dex
who knows what happens?
 
Upvote 0

OliverA

Expert
Licensed User
Longtime User
Google SDK has increased in size.
Yeah, two new components, Compose and the ML-Kit, are HUGE. I don't get the issue with NotoColorEmojiCompat.ttf. It existed in the previous SDK but was not "forced" into the app when using AppCompat. Whoever was in charge of that change @Google, I have a few not-so-nice words for you.
 
Upvote 0

aminoacid

Active Member
Licensed User
Longtime User
I just updated three of my old apps and did not see *ANY* increase in the size of the "apk" files.
 
Upvote 0

divinglog

Member
Licensed User
Longtime User
My apk size increased from 6.9 MB to 20.4 MB with BETA 2 and SDK 34. NotoColorEmojiCompat.ttf is included now, but it has only 10 MB, so it's something else as well. I'm using also AppCompat
 
Upvote 0
Top