- Android 16 now supports cloud compilation, a new feature that could speed up new app installs.
- The goal of cloud compilation is to avoid running the dex2oat tool during app installations by offloading compilation to the cloud.
- Dex2oat takes an APK file and generates app artifact files that the Android Runtime loads. Depending on the device and the amount of code to compile, this could take some time.
It looks like the ART (Android Runtime) JIT is playing an increasingly less important role with time.
Friendly reminder that the cloud is just someone else’s computer.
Without actually reading anything other than the title of the article, which I should prolly do, I’m gonna make this comment anyway.
What apps are you installing that take more than 30 secs?
I quite regularly see installation stall on older and cheaper phones. One single app install is fine, but when five or ten apps update all at once the phone becomes sluggish for minutes.
With Android consisting mostly of what, four instruction sets, this problem should’ve been prevented years ago in my opinion. Precompile for the most common platforms, leave the current slow processes for instruction sets nobody uses in practice, like MIPS and RISC-V.
Well that’s a issue, for sure.
I absolutely NEVER allow Google Play to just update my apps when it wants to. That’s insane. That would be constantly updating all day everyday. There is no need for daily software updates. There is no need for weekly updates. It’s borderline ridiculous.
One can argue “but muh security” all they like and go right ahead and do it if you need that validation in your life but when 10 apps are in que for an update 24/7 around the clock it’s almost suspicious.
I have a lot of apps on my phone. Several government and banking apps require to be updated at least weekly or they’re locked out for security reasons. Sure I could interrupt my 2FA login flow to update the app (assuming I have fast Internet available) but why bother? Google Play should be updating those things in the background while the phone charges. Same with F-Droid, though that’s buggy and gets stuck all the time.
My Android devices are nothing compared to my Linux installs, anyway.
Sure, banking and work related apps. Set those for auto-update.
The rest, I’d manually do it monthly.
You should’ve read the article. In an ideal world every device phone gets this process done in seconds. But, we don’t and not everyone can afford to buy a decently powerful enough phone.
For those people, downloading the optimized odex files could be faster than creating them on device. Thanks to availability of super fast internet.
Underpowered device or not, one thing that remains a constant is they will download a simple app very quickly, as long as the internet is there for it to do so.
So it really has nothing to do with the device but rather the internet speed.