I\'m trying to do the react native \'hello world\', and I\'m using usb debugging on my android.
I ran react-native run-android
, then react-native sta
Just another scenario, this error happened to me when I forgot to run react-native start
command. I usually follow the steps here when I start new project. The steps in a nutshell are as follows (Android in my case):
inside the directory where you want to create your new project, open your command line and run:
$ react-native init
$ cd
$ react-native start //This is the step that I forgot
Open a new command prompt and run the following inside the same directory(you just created) to launch the app on your AVD.
$ react-native run-android
If everything is set up correctly, you should see your new app running in your Android emulator shortly.
You'll find in the file index.android.js in the home directory of your project, the last line contians the App registry using the same name you used in the first command above