
Preparing an Android Virtual Device (AVD)

Refer to the React Native CLI Quickstart tab on the React Native Get Started docs under "Android development environment" for excellent instructions on installing the Android SDK, configuring the ANDROID_HOME environment variable, and adding the platform-tools to Path.ħ. These components can be installed later if needed.įor React Native, you need the Android 9 (Pie) SDK installed. Choose a "Custom" setup and ensure that the following components are checked: The Android SDK comes bundled in Android Studio, the official IDE for native Android Development and what we will be using for running Android emulators. Installing React Native CLI on Windows is the same as on macOS:Ħ. Check out this article for help getting this set up (I use the first option covered in the article). If you don't, I would recommend using an NVM alternative for Windows for better management of Node versions. Please note that I am going to assume that you have Node 8.3 or newer installed. Not everyone is on a Mac, for personal preference or financial reasons, especially outside of the United States. I would also like to take a moment to urge open source developers to give Windows a little love when possible. Unfortunately, iOS development on Windows is not possible (boo!). I wanted to walk through my process to hopefully make life easier for other Windows users that run into this issue. I recently needed to get a new React Native + Expo project up and running on my Windows machine and found that the documentation was a little scattered, especially in terms of setting up Watchman and Android Studio to run an Android emulator.
