Skip to content

Instantly share code, notes, and snippets.

@ahmeturganci
Last active February 14, 2019 06:19
Show Gist options
  • Save ahmeturganci/630018075137306f3b664631f00553ab to your computer and use it in GitHub Desktop.
Save ahmeturganci/630018075137306f3b664631f00553ab to your computer and use it in GitHub Desktop.

Hello this archive for How to install react-native on windows?

Step 1: Prerequisites & Prep Work

then you should add Environment variables a new path for SDK and JDK;

JAVA_HOME: C:\path\to\JavaSDK
ANDROID_HOME: C:\path\to\AndroidSDK 

Step 2: Configure an Android Virtual Device

If you have a mobile device just connect to computer that's enough else you should make under flowlist

Command Line

  • React native global CLI install
    • npm install -g react-native-cli
  • Create a new react native project
    • react-native init HelloReactNative
  • Start project for android & ios
    • react-native run-android
    • react-native run-ios
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment