I want to upload apk and size is more than 100 MB. I have find some tutorials / blog for that. But I am still not clear what to do with that.
Do I need to create expansion files or it will accept the apk directly?
I have checked one application ‘
Gears & Guts‘ on
Play Store having 313 MB. And I don’t think there is any expansion file in that.
Can anyone guide me?
Any help will be appricated.
This is as per the official document .https://developer.android.com/google/play/expansion-files.html
- main- are those files without this your application will not going
- patch- are those files which are additional, without this your application can run
- expansion-version- version that you are giving to your apk, so that Expansion files of different version will not conflict
If your app needs more than 100MB of memory, you can use expansion files to store additional APK assets. You can store two expansion files per application. Each expansion file can be up to 2GB in size.
APK files have a maximum file size, based on the Android version your APK supports:
100MB – APKs that target Android 2.3 and higher (API level 9-10 and
50MB - APKs that target Android 2.2 and lower (API level 8 or lower)
Tip: Users must run Play Store version 5.2 or higher to install 100MB
Expansion files are hosted at no additional cost. When possible, Google Play will download expansion files when apps are installed or updated. In some cases, your app will need to download its expansion files.
If your expansion files are larger than 100MB, users will see a warning dialog suggesting that they use Wi-Fi to download your app.
For more detail click here.
Note: The patch expansion file is semantically the same as the main
expansion file—you can use each file any way you want. The system does
not use the patch expansion file to perform patching for your app. You
must perform patching yourself or be able to distinguish between the
JOBB tool to encapsulate and encrypt a set of resource files and subsequent patches for that set.