on 2023 Feb 06 5:21 PM
Hi everyone,
I have noticed the following:
- The current SSAM Client in Play store size is under 100 MB.
- Previous versions of SAM Client (before being SSAM), if I am not wrong, had sizes around 300MB.
We are creating the android .apk for a client that has SAM 2010 and wants to upload the application to the Play Store. The generated .apk via sap sdk is around 300MB. However, there is a max. size limit of 100MB in the Play Store.
Any recomendation of how can we overcome this issue?
Best regards,
Gonzalo.
Request clarification before answering.
Hi Gonzalo,
in addition to the information provided by Muhammad you can perform the following steps to reduce the size:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi kucki99,
your first and third hint did the trick. With these two tweaks I could reduce the inital apk size of over 400 MB down to 87 MB.
This can be addressed by creating a bundle (AAB file) instead of an APK file. Just add "--aab" onto the end of your "tns build" command. This is Google's preferred app format now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I remember that builds done with the KapselSDK created several APKs for each architecture: x86, x86_64 and arm. And Kapsel by far isn't exactly state-of-the-art. Maybe this "feature" can be implemented in the MDK build process instead too?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Muhammad and Robin for your quick response.
Yes the existing app is less than 100MB. I meant previous standard clients (like SAM 2010), if I am not wrong, were bigger.
However, I will check and try what you have indicated in both comments and will comment back here I any of those solve the issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The existing app in the play store is less than 100MB. Following links might help
https://developer.android.com/topic/performance/reduce-apk-size
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
8 | |
7 | |
5 | |
5 | |
4 | |
4 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.