I'm running the commands:
react-native init AwesomeProject
cd AwesomeProject
react-native start
And then this command:
react-native run-android
The error that appears:
How to fix this error ??
1 An error has been fixed configuring the environment variables and updating the JDK and JRE.
2 Second error was corrected just by initializing the Android emulator (in the case of the android environment)