Windows version build installation react native environment configuration

Source: Internet
Author: User

1 Installing Chocolatey

Open cmd Black window
@powershell-noprofile-executionpolicy Bypass-command "IEX (New-object net.webclient). Downloadstring (' Https://chocolatey.org/install.ps1 ')) "&& SET path=%path%;%allusersprofile%\chocolatey\ Bin
Stick This code in, enter.

2 Installing node, Python2, JDK

Choco Install Nodejs.install
Choco Install Python2
Choco Install Jdk8

3 Configuring Java Environment variables

See http://jingyan.baidu.com/article/1e5468f924210a484961b7f0.html

CMD run Javac See if successful

4 Installing React Native command-line tools
NPM install-g Yarn REACT-NATIVE-CLI

5 Installing Android Studio

See Http://reactnative.cn/docs/0.45/getting-started.html#android-studio

6 launch Android Studio, launch an emulator
CMD input adb devices See if there is an emulator

7 Creating a Test first project
cmd into a directory and execute the following command in turn

React-native Init Awesomeproject
CD Awesomeproject
React-native run-android

8 Success! , huh?

Windows version build installation react native environment configuration

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.