简体   繁体   中英

How to reduce size of APK in Expo/React-Native?

I am developing an app by using react native with expo. As I am compiling to Apk file. The size goes up to 48mb and after having installed on a device, it goes to 90mb. Is this normal? Are there any ways to reduce the size of the app in 2020? Thank you guys.

I'm going to have to agree with Vinzzz that most of the size will come down to your assets. If you're including things like images or videos make sure the dimensions aren't too big, you don't need a 4k image for example;)

An app that I've released which is mainly text is also 48mb. This is a normal size for a react-native app unfortunately.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM