.Apk size increases with increase using target devices (LDPI, MDPI, HDPI, X-Large Screens)

I have a developed application that focuses on MDPI devices, initially having many images, and the application size is about 16 MB.

Now I need to target all other device screens. For this image, you need to replicate for the target devices. Which increased .apk to 45MB to 50MB.

  • My question here is, is the file size acceptable for the market?

  • Or I can create another .apk for each target device and place it on the market. so does the corresponding .apk load based on the device?

Please help me with this .. I searched a lot and became useless ...

+4
source share
2 answers

Currently, the maximum size for apk is 50 MB. To get around this, applications with heavy resources (for example, games) implement the loading of resources on the SD card. You might want to look into something like this, and at this point you will download resources for this particular device, and not for each resource for all different screens.

+2
source

Sakshi

You can use the <supports-screens> element in AndroidManifest.xml for target devices with specific screen sizes. You can use this to create an APK that will only be displayed on the market for devices that are compatible with the screen. You must also have a different package name for each package, and this will greatly complicate the build process.

+1
source

Source: https://habr.com/ru/post/1344517/


All Articles