Re:Android: Freeing up 60% of storage for apps by removing p...
by sfe22 on Wednesday March 09, 2022 @02:28PM
(#30618920)
How do you get these tiny android app sizes. Even the most basic android app from Android studio is like 500kB
[ Parent
| on HN ]
Re:Android: Freeing up 60% of storage for apps by removing p...
by TrianguloY on Wednesday March 09, 2022 @02:57PM
(#30619233)
Or even 1MB for the hello world app, I know. But that's because of the AppCompat (and relative) libraries.
If you program using the built in api only (this means the functions available to the target sdk, nothing newer) then your app size will be basically all assets, as code is very compact by itself.
But of course, coding is by far more complex, you are like doing native programming (although easier than c). My apps are small tools, so I can.
Oh, and don't use Kotlin. It's a wonderful language and far better than java, but horribly optimized.