React Native Environment Building under windows

Source: Internet
Author: User

It feels react so hard qaq

First, the development environment construction requirements

Installing the React Native development environment on the Windows operating system requires the installation of the Jdk,android SDK on your PC, as well as a set of C + + compilers installed on your computer, and if not, it is recommended to install Microsoft Visual Studio Community 2015

Second, the environment construction

1. Install JDK (requires 1.8 or higher)

Download the 32-bit or 64-bit JDK for your computer version, the first is the JDK, and the second is the JRE, which is recommended to be installed in a different folder under the same folder. You can modify the installation directory when you install.

2. JDK environment variable Configuration

(1) Select Computer-Properties-Advanced system Settings-advanced-environment variables

(2) System variable-new Java_home variable. Variable value fill in the JDK installation directory (I am C:\ProgramFiles\Java\jdk1.8.0_131)

(3) System variable-look for Path variable-edit, enter%java_home%\bin;%java_home%\jre\bin at the end of the variable value or at the front;

(4) System variable-new CLASSPATH variable. Variable values are filled in.; %java_home%\lib;%java_home%\lib\tools.jar (Note that there is a point in the front)

(5) Verify that the configuration is successful, run cmd, enter java-version (there are spaces between Java and-version), display version information as shown in the installation and configuration success

  

React Native Environment Building under windows

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.