

It easily happens that dependencies that are not used anymore are not removed and blowing up the app size. Over the time libraries are added, replaced and removed. 😉 To run the Linter, execute the following steps:


Luckily, with Lint it is possible to find the forgotten resources from better times. While applications are growing over time, it easily happens that there is a bunch of unused resources, such as images, layouts, assets, files and so on. Read here how remove unused alternative resources. The big advantage of using WebP files is that no changes in the code base are necessary.Äefine explicitly which languages should be supported so there are no unnecessary languages file bundled. This can help to reduce the size of the app’s drawables significantly. It is possible to convert PNGs to WebP files easily. Check here how to use vector drawables in Android. Vector drawables have many advantages, unfortunately changes in the app’s code are necessary to support vector drawables. The best approach is to use vector drawables. If the app contains just one flow which should be provided as an instant app, it is necessary to investigate what causes that the app is larger than 10MB. This snippet has to be added within the Manifest Tag → Done 🙂įor apps that are bigger than 10MB the effort to provide instant apps is higher.
