TODO does https://medium.com/surabayadev/setting-up-react-native-android-without-android-studio-35a496e1dfa3 make things simpler?
- Install node.js
- Install the Yarn Package Manager
- Configure Android
- Install Android Studio
- create an
ANDROID_HOME
environment variable, pointing at your Android SDK directory (~/Library/Android/sdk
on a Mac, most likely) - Within Adroid Studio,
Open an existing Android Studio project
and select theandroid
directory within this repository - Create a virtual device
- You must launch the device in the Android emulator in order to run the application
- Create a YouTube API key for local development (see the Getting Started guide for more information)
- create a
YOUTUBE_API_KEY
environment variable equal to your API key - Run
yarn start
from within a terminal in the project directory to start the development server - View the application from within your Android virtual device by running
yarn android
in a separate terminal session