Skip to content
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

Post extra step of yarn to set up android development environment in CONTRIBUTING #4341

Closed
RcleydsonR opened this issue Jul 5, 2022 · 1 comment

Comments

@RcleydsonR
Copy link

Description:

It is necessary to run the yarn start command in another terminal before the yarn android command to have the application running in an android development environment, this step is not included in the contributing document: "Setting up a development environment"

Environment Information:

It isn't necessary, but it's important to point out that this is a necessary step to run in an android environment.

Expected behavior:

After following the tutorial from the contributing guide, don't expect to face any problems running the android development environment.

Actual behavior:

image
Command hangs on 'Starting JS server...'

Additional context:

When I was following the tutorial to upload the development environment, I faced a problem when trying to run in android emulator because the tutorial only suggests using the yarn android command, not specifying the need to run the yarn start command to start the metro which is the javascript bundler, and is needed to run the application.

@dnlsilva
Copy link
Contributor

dnlsilva commented Jul 5, 2022

It is not necessary to run yarn start before running yarn android.
Your terminal probably doesn't have "access" to open another terminal.

Screen Shot 2022-07-05 at 08 38 52
After running yarn android the other terminal opens automatically.

Probably related:
facebook/react-native#28807
https://stackoverflow.com/questions/52777413/reactnative-metro-bundler-not-starting-automatically

@dnlsilva dnlsilva closed this as completed Jul 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants