React native development environment configuration on Mac

Source: Internet
Author: User

Reference Link: http://facebook.github.io/react-native/docs/getting-started.html#content

Ios development is simple and Xcode7.0 is supported later.

Android development, need to install SDK and other reference http://facebook.github.io/react-native/docs/android-setup.html

MAC: First step andorid development environment

1)brew install android-sdk 

2) Configuring the Android_home environment

3) Configure SDK, install SDK tools, SDK, and AVD and other package support

4) Install Android emulator, and create AVD, and launch (Android AVD)

Step Two: React-native environment http://facebook.github.io/react-native/docs/getting-started.html#content

Step three: Create the project and start. React-native run-android

Research projects: Https://github.com/race604/ZhiHuDaily-React-Native

NPM Install

React-native run-android

How the installation fails, you need to configure path, set Build_tools and Platform_tools, and ANDROID_SDK, and the version number of the Android SDK build is consistent during the Gradle build process.

See the Project/android/build.gradle version number in detail.

After the successful launch, the next step is to analyze the study.

React native development environment configuration on Mac

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.