-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
Build On New Architecture Stuck For Android & Never Succeed #33657
Comments
I can verify that this issue is with MacBook Air 2017. I checked on MacBook Pro M1 2020 and it's working fine with new architecture. |
I have wait and after 30 minutes debug build compiled now successfully. Now trying release build |
Release build almost takes 40 minutes to build & install. |
Crash Log shows this: |
Our company is working for 3 weeks trying to enable the new architecture following all the instructions provide by the community. We tried on several Macs and Pcs. Unfortunately we are in eternal looping with those errors. |
@joaotmachado I solved everything; only start up app crash issue yet to resolved. It happens in both enabled/disabled hermes release builds. Debug builds are fine. First time build are taking too much time. 42 minutes on MacBook Air 2017. Is this new architecture? With lots of errors? Lots of conflicts? Lots of dependency errors? 🤦🏻♂️😞 |
Are you trying on fresh project or existing upgraded project? |
Just a heads up here: the new architecture is building Native Code (C++ code) which is causing your build time to increase. This is (sadly) expected. If you build on a MacBook Air, you will most likely experience longer build time. Generally the first build is going to take longer, but subsequent builds will be faster as there is no need to rebuild everything. We also wrote a page to help you speed up your build speed here:
As we wrote extensively on the website, the new architecture is still experimental. We're collecting feedback, like yours, to understand where to prioritize our efforts as we refine the new architecture for everyone. Closing as this is essentially resolved. |
Description
Version
Tried On 0.68.0 & 0.68.1
Output of
npx react-native info
Steps to reproduce
I have MacBook Air 2017
npx react-native init demo
cd demo
newArchEnabled=true in gradle.properties file
enable hermes
npx react-native run-android
Snack, code example, screenshot, or link to a repository
No response
The text was updated successfully, but these errors were encountered: