React native for Android (make your first Android app)

Source: Internet
Author: User

The first step: if your computer installed node, congratulations, the first step to complete, if not, please install node first.

Step Two: Install REACT-NATIVE-CLI, react-native-cli in react-native that needs to be checked from GitHub under Windows , and perform the NPM install directly REACT-NATIVE-CLI It doesn't make a mistake when you create a project. GitHub address: http://www.github.com/facebook/react-native,

Down the entire react-native-master and into the REACT-NATIVE-CLI directory, perform NPM install-g

Step three: Create your first project, react-native Init myfirstproject, do not know is not the first reason, the creation takes a long time, you have to wait patiently, do not know how you, anyway, I waited for seven or eight minutes, it may be my computer too that what, Or the internet is slowing down.

Fourth step: Run the created project, enter into the Myfirstproject directory you created, execute react-native run-android, look forward to the wonderful ING

If there is an error in the diagram, it should be due to network problems, you can do it again, you can download the offline Grandle-core, modify the URL in the configuration file can be

  

If there is an error in the, congratulations, your project has been completed, but you did not install the Android simulator

  

React native for Android (make your first Android app)

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.