I need to check my app size and need to reduce the size if it is huge. Can anyone let me know how can I check the size in my simulator
Asked
Active
Viewed 1,828 times
1 Answers
1
Rather than checking simulator size which is usually the debug APK, and debug APK are much larger and you wont be able to find the exact size.
Its better you create a release APK by ./gradlew assembleRelease
and it will give the approx size of your production APK. You can reduce it furher by creating AAB and other twitches like disabling proguard and enabling hermes etc.
Hope it helps.

Gaurav Roy
- 11,175
- 3
- 24
- 45
-
How can I found the same for an ipa file for iOS app – sejn Jan 24 '20 at 05:28
-
for ios, ive usually checked after pushing to testflight and there downloading it. or you can check how to convert to ipa by his link https://stackoverflow.com/questions/42110496/how-to-build-ipa-application-for-react-native-ios and check the size – Gaurav Roy Jan 24 '20 at 05:34
-
Can I able to get the size in simulator itself. After converting to ipa how can I check the size. – sejn Jan 24 '20 at 05:58
-
simulator i dont believe, but after ipa shift that ipa in your mac, and in any folder you can check that size – Gaurav Roy Jan 24 '20 at 06:03
-
did it help you @sejn? – Gaurav Roy Jan 24 '20 at 07:06
-
I need to check. – sejn Jan 24 '20 at 07:33