This section describes how to setup your computer to run a development server for React-native
- Download NodeJS from the official website. (Use the current LTS version, not the latest version)
- Open a command prompt and type
npm i -g npm
to install the latest version of npm - clone this repository, open a command prompt inside the cloned repository and type
npm i
to install all necessary dependencies - Use
npm run android
inside a command prompt inside the cloned repository to run the development server for android ornpm start
to choose the platform you want to view the app from afterwards - Scan the QR-code on the website with the Expo Go App or connect an android device or create an emulator following these instructions
- Make sure you have USB Debugging enabled on your android device when connecting it to your computer.
- Expo also notes the following: If you are using Genymotion go to Settings -> ADB, select "Use custom Android SDK tools", and point it at your Android SDK directory
To stop the development server hit Ctrl+C to terminate the process in your command prompt