React native Windows Development environment Building (II)

Source: Internet
Author: User

The previous article describes the installation of the local server-side environment, using the already compiled APK program, set the IP address, you can see the welcome interface, and can make changes to the program and debugging.

In order to extend and publish the application also need to be able to compile the loader program, here is how to compile the loader program, is actually compiled Android program.

Reactnative generated projects are compiled with grader, Eclipse cannot compile, need to use command line or import Android studio or IntelliJ idea, here to import the project into Android studio.

1. First, if the JDK is not installed, you need to install the JDK and set the environment Java_home environment variables.
Reference:
Http://jingyan.baidu.com/article/f96699bb8b38e0894e3c1bef.html

2. Installation of android-studio-bundle1.4,reactnative-dependent SDK, Buildtools, and the version of the expansion pack for the 23,bundle version of Android Studio have been integrated and the version is also compliant.
1.4 Version of Android-studio I test no problem, the other version of Android-studio no test.

If you're using a different version of Android-studio or IntelliJ idea, it's actually possible to upgrade the SDK and Buildtools versions,
In addition, there is a dependency package needs online update (APPCOMPAT-V7), because Google services by the wall so need FQ,FQ after Gradle will update automatically, otherwise it will fail.

With the 1.4 version of Android Studio there is no problem, no FQ required, and the required files are packaged.
As follows:
Https://dl.google.com/dl/android/studio/install/1.4.0.10/android-studio-bundle-141.2288178-windows.exe

After installing Android Studio, go to the Start page, select "Import Project ...", then select the Android directory under Awesomeproject, import the project, connect the data line, and run it.

For more information, please follow my public number: Zhaojietec

What's the problem with my qq:1115500401?

React native Windows Development environment Building (II)

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.