Slow reaction when opening graphical dependencies

Asked

Viewed 781 times

1

After executing the commands:

react-native init AwesomeProject
cd AwesomeProject
react-native start

cmd, I cannot run the graphic part of Reactuy-Android inserir a descrição da imagem aqui

Already have Android installed How can I make it right?

2 answers

1


looks like you don’t have the yarn installed. The yarn is an alternative to npm, or is an engine to fetch components that are in npm.

You have to install globally:

npm install -g yarn
  • I did the installation.. but it still takes time to open the graphical interface of android.. What should I do now ??

  • @alexjosesilva the mistake is the same or now is a new?

  • The mistake is the same

  • The mistake is really not changed at all!

  • I found JDK error other than jre

  • @alexjosesilva good morning, it was time to sleep here in Europe :) If the mistake was another gives an answer explain and mark as accepted!

Show 1 more comment

1

As Sergio’s reply said, if Yarn error appeared, then you have to make sure that the same was installed.

And what is "Reacty"??

How did you install React Native? Using npm? If you follow the official guide, then just use:

react-native init AwesomeProject
cd AwesomeProject
react-native run-android

Or you can run the app directly from Android Studio (recommend).

Browser other questions tagged

You are not signed in. Login or sign up in order to post.