Users often avoid downloading apps that seem too large, particularly in emerging markets where devices connect to often-spotty 2G and 3G networks or work on pay-by-the-byte plans. This article describes how to reduce your app's APK size, which enables more users to download your app. Understand the APK Structure Before discussing how to reduce the size of your app, it's helpful to understand the structure of an app's APK. An APK file consists of a ZIP archive that contains all the files that comprise your app. These files include Java class files, resource files, and a file containing compiled resources. An APK contains the following directories: META-INF/: Contains the CERT.SF and CERT.RSA signature files, as well as the MANIFEST.MF manifest file. assets/: Contains the app's assets, which the app can retrieve using an AssetManager object. res/: Contains resources that aren't compiled into resources.arsc. lib/: Contains the co...
Coding Insights is the result of my great desire to learn so I can share and share what I have learned. Here I will talk about technology, new changes in technology and coding skills.