hey I was wondering why is a basic empty project for jetpack compose builds a big size apk compared to traditional XML app
✅ 1
t
tseisel
03/16/2022, 12:33 PM
I'm interested in the answer as well. Maybe the APK analyzer tool bundled into Android Studio could help you figure out which libraries/resources increases the APK size
g
gildor
03/16/2022, 1:44 PM
Because compose bundles whole runtime with all compostables, but app with Views uses system implementation of views, so no need to bubdle anything to run, only xmp and a few classes
More correct comparison would be app on views with appcompat/material
Compose without appcompat
And both minimized with r8