News for hackers. Stuff that matters.
Re:APK Golf: Reducing an Android APK's Size by 99.99% by gergo_barany on Tuesday October 10, 2017 @05:37PM (#15445517)
Last year I was invited to interview at Google Aarhus for a job on exactly this topic. We discussed fun, very simple ways to avoid including loads unused library code, and I was told that they already had some ridiculously efficient, practical way of compressing translation strings. I was there last November, and I had the impression that a lot of low hanging fruit would be picked off very quickly. Not sure what parts of this work actually shipped in these last 11 months. But work may still be ongoing.
Re:APK Golf: Reducing an Android APK's Size by 99.99% by toast0 on Tuesday October 10, 2017 @09:38PM (#15446696)
At this point, I don't think there is anything simple you can do for translations in Android. Some of the translations are loaded outside of app context, and app developers may not know which ones those are. Allowing the files to be compressed in the apk would require support in the Android system, and there are a billion devices already shipped that don't know how to do that.

If you can tell what strings need to be in the old way and what can be done differently, you could do any number of easy things to compress the strings that don't need to be accessible by the system.