4 ms·
> Don't use android app compat, or rather, don't use any external library. This feels like the analog of the "10 GB node_modules" meme. I wonder how much of t
by fouric 5y ago
> Don't use android app compat, or rather, don't use any external library.
This feels like the analog of the "10 GB node_modules" meme.
I wonder how much of the size explosion is due to feature bloat, inefficient implementation, backward-compatibility stuff, and external libraries...
- TrianguloY 5y agoAndroid studio lets you analyze apks and you can check more or less why the size is so big. Last time I checked it was a mix of assets (images mainly) and rarely used functions. In the case of app compat almost all is due to backward compatibility. That library allows you to use features intended for newer APIs, but making it compatible with older versions. This has advantages (mainly the themes) but it also means that the apps contains a lot of assets and code that will never run. The app bundle reduced this problem, but it's still present.