APK optimizations

When everything is done, the code is developed and tested, and users are waiting for an update of our application, we use it to build an APK file to distribute through the Google Play Store or anywhere else. However, due to multiple factors, the resulting APK file is forever getting bigger: new feature implementations, new, different configurations to support, new Android versions, more libraries used in the application, and so on. This way, we are forcing our users to use more bandwidth to update it and more storage to save it. In addition, there is a limit to the APK size that can be uploaded and distributed via the store. So, are we sure that we are doing well? What can we do to reduce the file size? Let's try to give an answer ...

Get Android High Performance Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.