Last active
January 8, 2018 20:02
-
-
Save kingsukhoi/10f7f4a105de8df8a56bc8756960c465 to your computer and use it in GitHub Desktop.
Install React Native Windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How to install react native on Windows. | |
Install Python2(https://www.python.org/downloads/release/python-2714/), JDK, Node.js(www.nodejs.org) and Yarn(https://yarnpkg.com/lang/en/docs/install/). | |
Install React-Native by running 'yarn global add react-native-cli.' | |
Get the Android SDK Manager Command Line program from here (bottom of page): https://developer.android.com/studio/index.html | |
Get the Android ADB Tools: https://dl.google.com/android/repository/platform-tools-latest-windows.zip | |
Unzip both put them under C:// or somewhere that you can access. | |
Modify path: | |
This tutorial will get you to the correct window: https://www.java.com/en/download/help/path.xml. | |
Choose path, and add the bin folder from the SDK Manager, and the root to the ADB tools. | |
To verify what you did works, go to your home directory, and run adb and sdkmanager. So long as they output something you good, if not redo the previous step. | |
Now run 'sdkmanager --licence', and accept all the licences. | |
Run react-native init <project name>. | |
Connect your android device and verify by running "adb devices". | |
Run react-native run-android and wait. | |
If it works, you are now ready to develop react native applications using android. | |
Best of luck. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment