4 ms·
> I had no idea common apps used to be just 10-30 MB. More like a few dozen kilobytes to a handful of megabytes. If you look in F-Droid you can find some good
by Aachen 10mo ago
> I had no idea common apps used to be just 10-30 MB.
More like a few dozen kilobytes to a handful of megabytes. If you look in F-Droid you can find some good old apps where graphics are either small or it uses the default styles for buttons and the like
Looking at a tiny utility app I made 6 years ago, it's 9KB, most of which will be the default things the compiler includes
- paulddraper 10mo ago> a few dozen kilobytes A "hello world" Android starts at ~5MB. It is possible to make it smaller if choosing some non-default different tools.
- vbezhenar 10mo agoHello world Android app includes a lot of dependencies like compat libs, constraint layout, kotlin runtime. These are not essential and can be removed.
- binaryturtle 10mo agoOutch… and I though an ~8KB "Hello, World!" here on my rusty Mac is HUGE already.
- rabf 10mo agohttps://github.com/cnlohr/rawdrawandroid https://github.com/cnlohr/rawdrawandroid 25Kb
- paulddraper 10mo ago> non-default different tools The “default” recommendation is clearly Android Studio plus Kotlin/Java. Other tools are smaller.
- Aachen 10mo agoIdk what to tell you but my "hello world" + a few dozen lines of functionality are 9.6KB. Haven't done anything special to shave things off
- pjmlp 10mo agoI am quite sure that isn't using the plain Android APIs, and has a bunch of needless libraries. Use plain Java, regular Android views, handle yourself the ifdefs for Android versions, and the 5 MB won't be there.
- koyote 10mo agoI recently made a tiny utlity app with a single screen, one dropdown and a few lines of text (it makes a single API call to populate the text). According to my phone it's 25MB. There's no assets, not even an app icon. I have no idea what would be taking up more than a few hundred kb, let alone 25MB.
- marcosdumay 10mo agoMaybe your compiler isn't pruning dead code?
- saidinesh5 10mo agoI think it could be all the compat /support libraries that try to give you the same API across different Android versions.
- Tox46 10mo agoThere are ways to analyze the content of your app so you know exactly what's taking all the space. Tools can vary depending on what language you used. For example i wrote a small app using flutter and i used the flutter's app size tool.
- abareplace 10mo agoIs it for iOS? Then, it could be the Swift runtime library.
- throwaway81523 10mo agoI remember hearing that even a trivial React Native app is around 100MB on Android.
- marcosdumay 10mo agoIf you use Electron, yes, any application starts from around 100MB. But there are alternatives that reuse the OS's libraries nowadays.
- emchammer 10mo agoHow does a web application reuse browser system-native libraries?
- oxidant 10mo agoElectron ships a version of Chrome. Other frameworks like Tauri use the device's webview.
- marcosdumay 10mo agoThe entire discussion is about native applications, not web.
- efskap 10mo agoWhy Electron? React Native doesn't even use HTML.
- presentation 10mo agoReact Native doesn’t use Electron