APK size got increased almost double after upgrading to RN 0.66.0
See original GitHub issueDescription
APK Size got increased almost double after upgrading to React Native 0.66.0
OLD APK Size: 18Mb NEW APK Size: 41Mb
Version
0.66.0
Output of react-native info
info Fetching system and libraries information… System: OS: macOS 10.15.6 CPU: (4) x64 Intel® Core™ i5-5350U CPU @ 1.80GHz Memory: 33.75 MB / 8.00 GB Shell: 5.7.1 - /bin/zsh Binaries: Node: 14.15.0 - /usr/local/bin/node Yarn: 1.17.3 - /usr/local/bin/yarn npm: 7.16.0 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman Managers: CocoaPods: Not Found SDKs: iOS SDK: Not Found Android SDK: API Levels: 23, 25, 26, 27, 28, 29, 30 Build Tools: 23.0.1, 25.0.3, 26.0.1, 28.0.2, 28.0.3, 29.0.2, 29.0.3, 30.0.2 System Images: android-26 | Google Play Intel x86 Atom, android-29 | Google APIs Intel x86 Atom Android NDK: Not Found IDEs: Android Studio: 4.1 AI-201.8743.12.41.6953283 Xcode: /undefined - /usr/bin/xcodebuild Languages: Java: 1.8.0_201 - /usr/bin/javac Python: 3.8.5 - /Users/nj/opt/anaconda3/bin/python npmPackages: @react-native-community/cli: Not Found react: 17.0.2 => 17.0.2 react-native: 0.66.0 => 0.66.0 npmGlobalPackages: react-native: Not Found
Steps to reproduce
Upgrade to react native latest version
Build APK.
Snack, code example, screenshot, or link to a repository
Issue Analytics
- State:
- Created 2 years ago
- Reactions:9
- Comments:19 (7 by maintainers)
Top GitHub Comments
I bumped my minSdkVersion to 23 from 21 and apk size doubled but i found a workaround-ish on stackoverflow linked below here
This issue not resolved in 0.67 also, im seeing same bundle size with newer version also.