Install Android Studio and run the React native project (Jump pit chapter)

Source: Internet
Author: User

1. The environment variable is required and the value is the address of the SDK.

Android_home Value: E:\USERS\HP\APPDATA\LOCAL\ANDROID\SDK

2. Download the Gradle-2.14.1-all.zip Package

Modify the address of the local Gradle compressed package address, here should be aware that the path is not with spaces, such as program files will be error.

Open the Import project in Android Studio first

To import the project under Android directory is only valid, such as E:\Project\RN\AwesomeProject\android

Launch simulator

CMD executes react-native run-android in the project directory

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Install Android Studio and run the React native project (Jump pit chapter)

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.