After executing the commands:
react-native init AwesomeProject
cd AwesomeProject
react-native start
In cmd, I can not execute the graphic part of Reactuy-Android
You already have Android installed How do I fix this?
It looks like you do not have yarn
installed. The yarn
is an alternative to the npm
, that is to say a motor to get components that are in the npm.
You must install globally:
npm install -g yarn
As Sergio's response said, if you have a yarn error, then you have to make sure it is 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 application directly from Android Studio (recommend).