Repetitive code also leads to increased file size thereby effecting the Apk size. Try reusing the code as much as possible instead of repetitive code. Object-Oriented Programming has solved a lot of problems in the programming world. For example, use only specific libraries of Google Play Services. So this can actually help in removing the same thereby helping in reducing the size of the application.Ĭheck if you can reduce the size when it comes to the usage of libraries. Lint actually helps in generating warnings or unused code inside the application. Using Vector Drawable is one of the best ways to reduce the size significantly. Hence, one of the main things that can be implemented to reduce apk size is to remove unused resources in the application.Īlso, it is advised to use scalable drawable objects(importing vector assets) instead of other image formats like PNG, JPEG, etc. The recommendations can help us in reducing the app size in a much better way.Īs we have already discussed the size of the apk has an impact on how fast the app loads, how much memory it uses, and how much memory power it consumes.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |