I recently started doing React Native development and what continiously bugged me was The fact that i needed to start the android emulator manually all the time. This was either through a pretty badly designed CLI or even worse waiting for Android studio to boot up (A huge behemoth).
You need to set the either set the environment variable ANDROID_HOME
or ANDROID_SDK
to where your android sdk is installed. For me on a mac this is ~/Library/Android/sdk
but
this will depend on your OS and installation.
Run android-emulator
in the terminal. Then select the emulator you want to start.
🎉💥 YOU ARE DONE! 💥🎉