-
Notifications
You must be signed in to change notification settings - Fork 919
Android build fails when setting "newArchEnabled" to true #2620
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
Comments
@mgulfam0722 What's the error? |
Sorry, forgot to mention that, updated the issue description, should be visible there. |
@mgulfam0722 that's the error with your setup, it's not related to CLI |
Thank you for your response. I have rechecked each and everything as per the documentation but nothing unusual was found. The app builds without any problem when |
Even expo managed apps work perfectly when setting |
Still facing this issue on Windows. Initialized a new project using the command
There is no error when initializing an Expo project with |
Anyone facing this issue, here is a temporary fix, just downgrade Anyways, the root cause of this error still remain unknown. The versions previously installed were shipped with brand new CLI projects, don't know what caused the errors in the first place. This error only pops up on Windows OS. CLI projects work just fine on MacOS. Your welcome |
Uh oh!
There was an error while loading. Please reload this page.
Environment
Description
When I set the
newArchEnabled
totrue
, the android build fails.Reproducible Demo
Just initialized a new project using the command
npx @react-native-community/cli@latest init MyApp
and the android build fails. Surprisingly whennewArchEnabled
is set to false, the build succeeds. Why is this so?The text was updated successfully, but these errors were encountered: