![npm android emulator mac npm android emulator mac](https://imag.malavida.com/mvimgbig/download-fs/happy-chick-19290-7.jpg)
You can use the command “ adb devices” to see if the adb is detecting the emulator. Once done click on Launch, this will launch the emulator. " Wipe user data" would wipe any previous app installation you have done and would launch a plain vanilla emulator. This would launch the pop up with few options, you may choose as you want. Select the AVD name and click on Start on the right. Once done, it will show up in the AVD manager as below.
![npm android emulator mac npm android emulator mac](https://techviola.com/wp-content/uploads/2018/04/play2521.jpg)
Once you have selected the above options, click on OK. Select the RAM size as per your machine configuration. Click on Create on the pop up opened and follow the below snapshot for the values. This would open the Android Virtual Device Manager, which would help you create the virtual devices. Select the above files and choose to install, once done close the SDK manager. This will help you create a virtual device running Android 4.4.2. In the SDK manager select the below files as shown below. This would open the SDK manager for you to download the relevant files. Once this is done, we need to launch the SDK manager to download relevant files to create an emulator and run the virtual device.
NPM ANDROID EMULATOR MAC FOR MAC
For mac users below are the command snapshot (change the path and folder name accordingly as per your machine) export ANDROID_HOME=/Users/Steve/Development/SDKĮxport PATH =$:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools Your will see your app will be running in your emulator, if you want to reload the project, you could double tap R(you should type it very quickly, otherwise it may not reload js) or you can type command+M, then you choose Reload. Post unzipping, update the system variable to include sdk as well. In Terminal, in your react native project directory, run 'react-native run-android'. Once you download the file and unzip, you would see the below structure in the sdk folder.