3 ms·
> Choosing to AOT on device instead of doing at the store like everyone else There's a few major problems with doing it at the store. 1: Google can only AOT f
by kllrnohj 10y ago
> Choosing to AOT on device instead of doing at the store like everyone else
There's a few major problems with doing it at the store.
1: Google can only AOT for their devices as the AOT depends upon the specific platform version that the app will be installed on (as symbols & offsets change, of course). It's a substantial scalability problem.
2: The compiled version is substantially larger than the dex code. That's a non-trivial cost (in terms of $$$) to put on people in the majority of the world that doesn't have high caps and/or unlimited bandwidth.
3: Apps are signed by the developer, so the store can't recompile the app without breaking the certificate chain. And then the app won't be able to update anymore, and the trust flow back to the original developer is lost.