question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Build On New Architecture Stuck For Android & Never Succeed

See original GitHub issue

Description

Screenshot 2022-04-16 at 13 50 51

Version

Tried On 0.68.0 & 0.68.1

Output of npx react-native info

Screenshot 2022-04-16 at 13 57 50

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

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
cortinicocommented, May 5, 2022

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: https://reactnative.dev/docs/build-speed

Is this new architecture? With lots of errors? Lots of conflicts? Lots of dependency errors? 🤦🏻‍♂️😞

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.

1reaction
ErHarinderSinghcommented, Apr 19, 2022

@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? 🤦🏻‍♂️😞

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android Studio gradle takes too long to build - Stack Overflow
In Android Studio go to File -> Settings -> Build, Execution, ... added a new dependency in your gradle you will have to...
Read more >
Android project won't finish building - Microsoft Q&A
When I build the app, all the project dependencies build just fine in ... gets stuck on building the android project and it...
Read more >
Device administration overview - Android Developers
This document is intended for developers who want to develop enterprise solutions for Android-powered devices. It discusses the various features provided by the ......
Read more >
Request location updates - Android Developers
A change to the device's configuration, such as a change in screen orientation or language, can cause the current activity to be destroyed....
Read more >
Restrictions on starting activities from the background
Android 10 (API level 29) and higher place restrictions on when apps can start activities when the app is running in the background....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found