-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
APK build too large #27085
Comments
Known issue, see this explanation. |
very helpful, thank you |
gosh I am having the same problem lol, my apk size went from |
I don't like expo , just leave it , use react native cli |
to reduce the size, run a prebuild, |
@Elue-dev I used APK just to test something, I will use AAB anyway, which isnt affected in the new sdk! |
This solution works for me |
This is working for me. |
Wow, thank you man this is working for me 75mp to 34mp |
It worked for me as well. Thank you very much. I often get errors when I do a |
@Naveen-Prasanth-K your solution worked for me as well |
Summary
I built my app with the latest version of eas cli for android, its a very small project (for now), but the APK size is extremely high for such a small app (102MB). This has not happened before, the last app i built, which has way more code and more dependencies is not as large as that (35MB). Please what could be the issue, could it be the new expo sdk or what could be the cause of this?
package.json to show my dependencies and their versions:
Managed or bare workflow?
managed
What platform(s) does this occur on?
Android
Package versions
my eas.json:
dependencies:
Environment
expo-env-info 1.2.0 environment info:
System:
OS: macOS 12.7.2
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 20.11.0 - /usr/local/bin/node
npm: 10.3.0 - /usr/local/bin/npm
Managers:
CocoaPods: 1.14.3 - /Users/nubiaville/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.2, iOS 15.2, macOS 12.1, tvOS 15.2, watchOS 8.3
IDEs:
Android Studio: 2023.1 AI-231.9392.1.2311.11255304
Xcode: 13.2.1/13C100 - /usr/bin/xcodebuild
npmPackages:
expo: ~50.0.6 => 50.0.6
react: 18.2.0 => 18.2.0
react-native: 0.73.4 => 0.73.4
npmGlobalPackages:
eas-cli: 7.2.0
expo-cli: 6.3.10
Expo Workflow: bare
Reproducible demo
Link to the repository:
https://github.com/Elue-dev/TCN-Church-App
Stacktrace (if a crash is involved)
No response
The text was updated successfully, but these errors were encountered: